Open bmrfvr opened 8 months ago
Thanks for looking into this! I'll take a closer look to validate the change, adjust the verification tests, and merge as soon as I can find some free time.
Thanks for looking into this! I'll take a closer look to validate the change, adjust the verification tests, and merge as soon as I can find some free time.
No problem!
There is a simple workaround if you more issues are created before this issue gets resolved. You can just simply do the .ToLowerInvariant().Replace('-', '_')
yourself and pass that in instead of a proper language code.
The format of the language code is [language]-[country] but this method is trying to split it based on a format of [language]_[country]
I also updated one of the tests to have one of the failing test cases so we can ensure this doesn't break in the future.
Before:
After:
![MicrosoftTeams-image (28)](https://github.com/mattjohnsonpint/TimeZoneNames/assets/24326190/d540bf92-6a50-407d-8c98-c6dd8988df7d)