by Michael S. Kaplan, published on 2006/04/03 12:01 -07:00, original URI: http://blogs.msdn.com/michkap/archive/2006/04/03/567489.aspx
I did talk about a particular time zone issue earlier today....
And I see that Anthony posted about a new sample using managed code on the BCLTeam blog.
There is one bit there that I swear makes me cringe every time someone mentions it:
The single most requested individual feature for the Base Class Libraries that has not been delivered yet is for support for Time Zones other than Local and UTC. This is a feature we are actively exploring for the next release of the .NET Framework.
My cringe is in part inspired by the explanation from Raymond Chen of Why Daylight Savings Time is non-intuitive. Every time one of those .NET vs. Win32 compatibility issues raises its head I get nervous, so this one that keeps popping heads up lik a hydra can be quite cringe-inspiring.
The other part that makes me nervous is the sample itself -- seems like no Win9x support (the Win9x registry key is different, something the VB sample in my book took care of), and also seems like it has no support for the Vista updates that support the localized time zone name strings, though of coursed that is not yet in shipping product (I figure a sample could try to be either forward or backward compatible!).
As an aside -- that Vista fix with the time zone names is similar to the one done for keyboard layout names in Windows XP to get them out of the registry too; I'll talk more about this another day for both keyboards and time zones. Incidentally, that keyboard fix is one that the 1.0 and 1.1 versions of .NET did not pick up but I believe the issue was addressed in 2.0....
I should probably stop worrying so much, it's not like the sample can't be updated. And there is plenty of time for the right thing to happen in product....
But I wonder why nothing can ever be easy with time zones. :-(
This post brought to you by "༖" (U+0f16, a.k.a. TIBETAN LOGOTYPE SIGN LHAG RTAGS)
# Jeff Parker on Monday, April 03, 2006 3:49 PM:
# Maurits on Monday, April 03, 2006 3:59 PM:
# Michael S. Kaplan on Monday, April 03, 2006 4:11 PM:
# Maurits on Monday, April 03, 2006 4:56 PM:
# Fil Mackay on Monday, April 03, 2006 5:54 PM:
# oldnewthing on Tuesday, April 04, 2006 12:24 AM:
# Michael S. Kaplan on Tuesday, April 04, 2006 12:32 AM:
# Phylyp on Tuesday, April 04, 2006 6:01 AM:
# Maurits on Tuesday, April 04, 2006 8:51 AM:
# Michael S. Kaplan on Tuesday, April 04, 2006 11:24 AM:
# Michael S. Kaplan on Tuesday, April 04, 2006 11:25 AM:
referenced by
2008/06/29 Did someone break GetTimeZoneInformation in XP?
2006/07/07 Results of the 'Time Zone Scenario Feedback' feared
2006/05/24 Did somebody say time zones were intuitive?
2006/05/06 Keyboards and time zones have something in common
2006/04/05 Ok, so there may be *some* worries here