HNHacker News
TopNewBestAskShowJobs

flyingmeteor

15 karma · joined September 11, 2017

submissionscomments
flyingmeteor··on Temporal: The 9-year journey to fix time in JavaScript
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...