3 ms·
Looks great! Please add an unambiguous timestamp type :-)
by stickfigure 4y ago
Looks great! Please add an unambiguous timestamp type :-)
- Dylan16807 4y agoIf you get it added to javascript, then it will likely get added to JSON5 or a successor. Otherwise that's out of scope.
- stickfigure 4y agoJavascript has a timestamp type, Date. Of course what you mean is for javascript to have a timestamp literal. Well, the closest equivalent would be: `new Date("2021-12-17T03:24:00")` It's cumbersome, but I would accept it: { mytimestamp: new Date("2021-12-17T03:24:00") }