-
-
Notifications
You must be signed in to change notification settings - Fork 66
Open
Description
When saving an object like { a: "0000-00-00T00:00:00" } and subsequently reading it, the string will become a date object. This means that with some data, this library cannot safely round-trip.
| if (typeof value == "string" && this.dateRegex.exec(value) != null) { |
I recommend doing it correctly, see https://stackoverflow.com/a/73155667/3492994
poinck
Metadata
Metadata
Assignees
Labels
No labels