-
Notifications
You must be signed in to change notification settings - Fork 67
Automatically serialize a non ISO date string if it is serializable by javascript date object #658
Comments
Had a closer look at the user's request in #656 and talked to @timsuchanek about this. Tim noted that we can't simply accept all dates parse-able by The problem is that we're not properly handling all types of ISO 8601, we're only handling the UTC version. We should accept the following example formats:
But we only accept:
|
Thanks @matthewmueller I 100% agree! I think we should just add support for the missing ISO 8601 formats here, that's it. |
And that is also what I did now. You can check it out on alpha. |
I'm using a
I get:
A more readable version:
UPDATE: This issue was solved thanks to the steps outlined here. So technically the issue doesn't exist, because I'm now using the alpha. |
Problem
Only ISO 8061 date string is automatically serialized right now.
Solution
We should allow any date string that is serializable by js Date object.
Additional context
Related: #656, #212
The text was updated successfully, but these errors were encountered: