FW: Time Zone mapping --> Windows ???
I'm forwarding this message from Boris Lang, who is not on the time zone mailing list. Those of you who are on the time zone mailing list should direct replies appropriately. --ado -----Original Message----- From: BORIS LANG [mailto:BORIS.LANG@MEMO.IKEA.COM] Sent: Tuesday, July 10, 2007 8:55 AM To: tz@lecserver.nci.nih.gov Subject: Time Zone mapping --> Windows ??? --- Received from IKEA4.BRLG +49 6122 5858276 07-07-10 14.56 -------------------------------------- Hi, we are working on the implementation of time zone information into an application using the tz database. TZ data names will be our main type but we also need to do a mapping to the time zone names used in windows. i.e. Europe/Berlin (tzd) --> Amsterdam, Berlin, Bern, Rome, Stockholm, Vienna (Windows) The problem is that I can´t find a complete list that contains the mapping from tz database to windows. Can somebody please help us? Is there already such a list existing? Best regards Boris Lang ------ IKEA IT Germany GmbH Am Wandersmann 2-4 65719 Hofheim-Wallau Sitz München HR B 79392, Amtsgericht München Geschäftsführer: Manfred Godlewski, Göran Sjöstrand, Ola Troedsson ---- 07-07-10 14.56 ---- Sent to --------------------------------------------------------------------------------- -> tz@elsie.nci.nih.gov
Mapping from Windows Time Zone Names to Olson Time Zone Keys http://www.chronos-st.org/Windows-to-Olson.html Unicode CLDR Version 1.5-draft: Windows --> Tzid http://unicode.org/cldr/data/diff/supplemental/windows_tzid.html Olson, Arthur David (NIH/NCI) [E] wrote:
I'm forwarding this message from Boris Lang, who is not on the time zone mailing list.
Those of you who are on the time zone mailing list should direct replies appropriately.
--ado
-----Original Message----- From: BORIS LANG [mailto:BORIS.LANG@MEMO.IKEA.COM] Sent: Tuesday, July 10, 2007 8:55 AM To: tz@lecserver.nci.nih.gov Subject: Time Zone mapping --> Windows ???
--- Received from IKEA4.BRLG +49 6122 5858276 07-07-10 14.56 --------------------------------------
Hi,
we are working on the implementation of time zone information into an application using the tz database. TZ data names will be our main type but we also need to do a mapping to the time zone names used in windows.
i.e. Europe/Berlin (tzd) --> Amsterdam, Berlin, Bern, Rome, Stockholm, Vienna (Windows)
The problem is that I can´t find a complete list that contains the mapping from tz database to windows.
Can somebody please help us? Is there already such a list existing?
Best regards Boris Lang
------ IKEA IT Germany GmbH Am Wandersmann 2-4 65719 Hofheim-Wallau
Sitz München HR B 79392, Amtsgericht München Geschäftsführer: Manfred Godlewski, Göran Sjöstrand, Ola Troedsson
---- 07-07-10 14.56 ---- Sent to --------------------------------------------------------------------------------- -> tz@elsie.nci.nih.gov
On Tue, 10 Jul 2007, Bernard Desruisseaux wrote:
Mapping from Windows Time Zone Names to Olson Time Zone Keys http://www.chronos-st.org/Windows-to-Olson.html
Unfortunately, these names are localized in Windows, so this mapping only works for English language Windows versions. I'm using this mapping in a Perl module I wrote (DateTime::TimeZone - http://search.cpan.org/dist/DateTime-TimeZone/) and got a bug report from a user regarding this issue. -dave /*=================================================== VegGuide.Org www.BookIRead.com Your guide to all that's veg. My book blog ===================================================*/
On 7/11/2007 1:21 PM, Dave Rolsky wrote:
On Tue, 10 Jul 2007, Bernard Desruisseaux wrote:
Mapping from Windows Time Zone Names to Olson Time Zone Keys http://www.chronos-st.org/Windows-to-Olson.html
Unfortunately, these names are localized in Windows, so this mapping only works for English language Windows versions. I'm using this mapping in a Perl module I wrote (DateTime::TimeZone - http://search.cpan.org/dist/DateTime-TimeZone/) and got a bug report from a user regarding this issue.
In case you are tring to find out the tzid for the current Windows time zone... The time zone names from GetTimeZoneInformation() are localized. You'd need to find the "Time Zones" registry entry that matches the GetTimeZoneInformation() return value. Then, its registry key name can be used to look up a mapping table. However, different Windows versions use different key names. And some old localized Windows (NT/2000) have localized key names. In that case Java uses the mapID value which is not in Windows XP with a time zone patch and Vista. IIRC, key name "GMT" is used for different time zones in different Windows versions. It's a mess if you try to map Windows time zones to tzids... Masayoshi
participants (4)
-
Bernard Desruisseaux -
Dave Rolsky -
Masayoshi Okutsu -
Olson, Arthur David (NIH/NCI) [E]