-
Notifications
You must be signed in to change notification settings - Fork 3
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 is not correctly parsed #27
Comments
Hi, I'm going to look into it to see if I can parse it better, last resort solution would be to save it as a |
So it is not really a bug, the issue is that I do not supports parameters when parsing, and the |
Actually I just wanted to tell you about the problem so that you could maybe fix that in the future if you like. I just needed it for a test case to verify an ICS file. But I have found another solution for me now: I have already parsed ICS files in Java and Objective C so I could just reuse some of the code and build a simple ICS parser in Flutter myself now that is sufficient for my test case. It is very simple and supports only strings but for my tests it is sufficient. So for me you don't need to change it, I just wanted to mention it so that you know that this problem exists. :-) Thank you very much for your very quick replies! 👍 |
From #28 (comment)
|
Thank you, that seems to be a good solution! :-) |
Hi!
DTSTART;TZID=Europe/Berlin:20210607T090000
is being parsed as
DateTime:<2021-10-31 01:00:00.000Z>
As you can see the date and time is incorrectly parsed. :-( I think using "DateTime.parse(text)" is not enough.
The text was updated successfully, but these errors were encountered: