mattjohnsonpint / TimeZoneNames

Provides a complete source of localized time zone names and abbreviations.
MIT License
196 stars 32 forks source link

Daylight zone name for non-daylight timezone #17

Closed dlgreenwell closed 7 years ago

dlgreenwell commented 7 years ago

While trying to differentiate between the Mountain time zone and Arizona(I realize they are both Mountain Standard Time) I found that GetNamesForTimeZone("America/Phoenix", "en-us") returned a daylight name.

Is this an issue or is this the way that the code was designed to keep it simple? Should rely on external code to decide which we want to display?

dlgreenwell commented 7 years ago

I believe this is the case, and am just going to be using external code(noda time) to get the information I need.