mattjohnsonpint / TimeZoneConverter

Lightweight libraries to convert between IANA, Windows, Rails, and POSIX time zones.
Other
843 stars 81 forks source link

Minor platform inconsistency with timezone name case #46

Closed PaitoAnderson closed 5 years ago

PaitoAnderson commented 5 years ago

This works on macOS, but throws an exception on Windows: TZConvert.GetTimeZoneInfo("eastern standard time");

mattjohnsonpint commented 5 years ago

Are you sure? I do not get an exception when I try this on Windows. The internal dictionaries all use StringComparer.OrdinalIgnoreCase.

What target platform are you using? (.net core or .net framework, version, etc.)

mattjohnsonpint commented 5 years ago

Actually, nevermind. I can repro it. Fix forthcoming...

mattjohnsonpint commented 5 years ago

Fixed in version 3.1.0. Thanks!

PaitoAnderson commented 5 years ago

Sweet! Thank you :)