Better HN
topnewbestaskshowjobs
Log inSign up

flyingmeteor

15 karma · joined Sep 11, 2017 (9y ago) · 2 submissions

Submissions

comment 8mo ago · link · parent

You would need to use the `reviver` parameter of `JSON.parse()` to revive your date strings to Temporal objects. As others have said, it's a simple `Temporal.from()`

https://developer.mozilla.org/en-US/docs/Web/JavaScript/Refe...