-
-
Notifications
You must be signed in to change notification settings - Fork 263
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
Crash when converting some ISO8601 date strings #532
Comments
Hi @bonebox! Delivered a fix in master, let me know if it helps :) |
Hey @3lvis! Thanks for the quick fix! That does indeed fix dates with 2 millisecond precision. Apparently some dates from our server also have only 1 decimal place for milliseconds (ie. |
Cool, thanks @3lvis! It appears from this that there is no restriction on decimal length, so probably good to have those supported anyway:
Any idea when the next version will be released with these updates? Thanks! |
After updating to
5.0.0
(from4.0.3
) my app started crashing with the below stack trace. I traced it back to Sync when it attempts to convert an ISO8601 date string that has a 2 decimal place millisecond precision, ie.2017-12-22T18:10:14.07Z
. If the string has a 3 decimal place millisecond precision it works as intended, ie.2017-12-22T17:51:01.104Z
.The text was updated successfully, but these errors were encountered: