Open euronion opened 3 years ago
This PR addresses #12 .
In the previous implementation the code checked for "etc"-prefixes of time-zones. But not all LegacyTimezones in Julia start with "etc".
Since julia's TimeZones does not seem to provide a list of LegacyTimezones, the PR handles this issue using a try-catch exception handling block.
TimeZones
@niclasmattsson can you merge this to master? I spent a few hours trying to debug what is already fixed in this PR.
Thanks for a great package!
This PR addresses #12 .
In the previous implementation the code checked for "etc"-prefixes of time-zones. But not all LegacyTimezones in Julia start with "etc".
Since julia's
TimeZones
does not seem to provide a list of LegacyTimezones, the PR handles this issue using a try-catch exception handling block.