-
Notifications
You must be signed in to change notification settings - Fork 41
Open
Description
I was playing with js-model over the weekend and dates in models don't work as I expected they would. Objects with properties set as dates get serialised to strings and the when the object is parsed from localstorage it returns a string.
I had a quick look into the problem and it seems like a custom replacer callback for the JSON.parse and JSON.stringify is needed to fix this.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels