mattjohnsonpint / TimeZoneNames

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

CET timezone shown as invalid #6

Closed unuunc closed 8 years ago

unuunc commented 9 years ago

I am getting all timezone from Noda by using NodaTime.DateTimeZoneProviders.Tzdb.Ids and converting to Timezone names. it fails for "CET". Can you check if all TZDb Id's are supported ?

mattjohnsonpint commented 9 years ago

Thanks for reporting. I'll go through and make some tests that it should support all valid TZDB Ids, including the backwards compatibility ones.

In the meantime, I suggest you omit any IDs that don't contain a / character - except perhaps "UTC".

mattjohnsonpint commented 8 years ago

All IANA and Windows IDs should return something in version 1.3.0. Hopefully it's the expected string.