-
Notifications
You must be signed in to change notification settings - Fork 18
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
Date parsing fails when explicit timezone identifier string is present #3
Comments
Right now this crate only has support for timezones that are specified in the IANA database. But the goal is certainly to be able to support other timezone formats as well. I will put some effort into supporting fixed offset timezone strings (like the one you provided), and hope to have it ready for v.3.5.0. |
Much appreciated! I know the pain with this date parsing since in the application I'm writing using your library I was already parsing dates and it is kind of stupefying how many variants the ical spec allows. Do you think it may be useful to split out the date parsing bits into some common library? |
Yeah there is certainly a lot of complexity to parsing all the different kinds of ical strings. |
@fmeringdal do you know of a good workaround for specifying the timezone? I can preprocess the ical, but just stripping the timezone causes alls dates to be UTC. Is there an alternative way to indicate the timezone that your library supports? |
@aggregat4 I am still not sure how to convert between the Tz enum (provided by chrono-tz) that I use internally in this crate and a given UTC offset that I get from parsing the rrule string. My plan is to take a deeper look into all of this this weekend or the next. Please let me know if you have some ideas on how to do this! |
#24 Replaces this issue. Feel free to reopen |
Using rrule 3.4.0 and doing the following test:
causes the error:
The text was updated successfully, but these errors were encountered: