Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Asia/Kamchatka maps to old windows timezone #47

Closed
tophallen opened this issue May 22, 2019 · 1 comment
Closed

Asia/Kamchatka maps to old windows timezone #47

tophallen opened this issue May 22, 2019 · 1 comment

Comments

@tophallen
Copy link

Found this issue when running some tests, if I pass in the windows timezone id: Russia Time Zone 11 to ConvertWindowsToIana I get Asia/Kamchatka -> but if I try to call GetTimeZoneInfo with Asia/Kamchatka I get (UTC+12:00) Petropavlovsk-Kamchatsky - Old (display name, the id is Kamchatka Standard Time) which hasn't been in effect for a while I'm pretty sure it's not a data issue - I found these matches:

Windows territory IANA Mappings
Kamchatka Standard Time 1 Asia/Kamchatka
Russia Time Zone 11 1 Asia/Kamchatka
Russia Time Zone 11 RU Asia/Kamchatka Asia/Anadyr

So I guess my issue is, maybe there could be a way to deprecate timezones where they would explicitly map, but not be the default when parsing. I'm not sure the best solution for that. But it would be helpful as the offsets are different during DST (no longer practiced in the Russia Time Zone 11).

I'm on windows 10 1809 professional.

@mattjohnsonpint
Copy link
Owner

Fixed in version 3.2.0. Thanks for reporting!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants