Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Outlook generated timezone can´t be parsed #18

Open
benjamin79 opened this issue Dec 22, 2018 · 0 comments
Open

Outlook generated timezone can´t be parsed #18

benjamin79 opened this issue Dec 22, 2018 · 0 comments

Comments

@benjamin79
Copy link

benjamin79 commented Dec 22, 2018

DTSTART;TZID=W. Europe Standard Time:20181227T130000 or
DTSTART;TZID="W. Europe Standard Time":20181227T130000

leads to

 start: {:error, {:invalid_timezone, "W. Europe Standard Time"}},

Reason seems to be the missing lookup:
https://github.com/bitwalker/timex/blob/master/priv/standard_to_olson.exs

I´m not sure where and how to do it, but there needs be something like this:
Timex.Timezone.Utils.to_olson("W. Europe Standard ") which replaces it with "Europe/Berlin"

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

No branches or pull requests

1 participant