Skip to content

Fix handling LegacyTimezone without "etc" prefix. - #14

Open
euronion wants to merge 1 commit into
niclasmattsson:masterfrom
euronion:patch-1
Open

Fix handling LegacyTimezone without "etc" prefix.#14
euronion wants to merge 1 commit into
niclasmattsson:masterfrom
euronion:patch-1

Conversation

@euronion

Copy link
Copy Markdown

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.

@sam-watttime

Copy link
Copy Markdown

@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!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants