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

America/Indiana/Indianapolis #13

Closed
jiodice opened this issue Feb 1, 2018 · 1 comment
Closed

America/Indiana/Indianapolis #13

jiodice opened this issue Feb 1, 2018 · 1 comment

Comments

@jiodice
Copy link

jiodice commented Feb 1, 2018

Hello,

I am using this library in combination of GeoTimeZone to take a lat/long and get back a Windows time zone.
When I pass in a lat/long from an East Indiana address into GeoTimeZone I get back "America/Indiana/Indianapolis"
When I use TimeZoneConvert to convert that IANA to a Windows time zone I get back US Eastern Standard Time instead of Eastern Standard Time. The difference being US Eastern Standard Time does not observe DST which Indiana did away with in 2006.
https://www.timeanddate.com/time/us/indiana-time.html

IANA shows 'America/Indiana/Indianapolis' as observing DST same as normal Eastern Standard Time

@mattjohnsonpint
Copy link
Owner

mattjohnsonpint commented Feb 26, 2018

Hi. Sorry for the delayed response.

The Windows ID "US Eastern Standard Time" is indeed the correct one to use for Indiana. It's English display name on Windows is "Indiana (East)". If you examine the Dynamic DST registry keys, you'll see that the only difference is that it doesn't have DST for 2005 and prior. For 2006 and newer, it does have DST, so they are identical.

This corresponds to the the data shown for Indianapolis here:
https://www.timeanddate.com/time/zone/usa/indianapolis?syear=2000&eyear=2010

You'll also find a long history of time in Indiana here:
https://en.wikipedia.org/wiki/Time_in_Indiana, which this is described in detail.

This is also reflected in the CLDR mapping file as well, so the mapping is correct.

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