Okay, so I got a bugg report regarding week numbering being wrong on T-Clock 2010's pop-up calendar (after Jan 2011). Now the calendar gets its week numbering from the Windows system ... So it should be impossible to screw up... Ha!
I first confirmed that the week numbering was indeed wrong ... Which is odd because it was right just last week/year...
Now here's the weird part:
Outlook 2007's calendar running on my Win7 x64 development machine, also displays the week number incorrectly. But, the WinXP VPC running on the same machine shows the week numbers correctly.
Saturday, January 1st, should be week 0, as the MSDN states (in the documentation for the Calendar Control) that week 1 is the first week of the year with 4 days in it. But Windows 7 appears to want to call it week 1. Which (of course) throws off the week numbering for the entire year.
Has anyone else heard of, or ran across this bizarre behavior?
I first confirmed that the week numbering was indeed wrong ... Which is odd because it was right just last week/year...
Now here's the weird part:
Outlook 2007's calendar running on my Win7 x64 development machine, also displays the week number incorrectly. But, the WinXP VPC running on the same machine shows the week numbers correctly.
Saturday, January 1st, should be week 0, as the MSDN states (in the documentation for the Calendar Control) that week 1 is the first week of the year with 4 days in it. But Windows 7 appears to want to call it week 1. Which (of course) throws off the week numbering for the entire year.
Has anyone else heard of, or ran across this bizarre behavior?









) function some 15 years ago, and had kind of the same trouble then, but without the internet to search it was a lot harder to find a proper solution... eventually the 3 or 4 day minimum length (depending on Sunday or Monday as the first weekday) for week 1 popped up, and I was able to resolve it by dropping the extra days in week 52/53 of last year. Week 0 has always seemed quite impossible to me... 



- carpe noctem
