Re:ARM chips have an instruction with JavaScript in the name
by MereInterest on Sunday October 18, 2020 @12:59AM
(#24815645)
I'd love to have a way to take a `Date` object and set it as the value of a `datetime-local` input. Sure feels like that should be straightforward to do, without requiring any weird conversions like it does.
[ Parent
| on HN ]
Re:ARM chips have an instruction with JavaScript in the name
by mr_toad on Sunday October 18, 2020 @07:24PM
(#24821952)
You might be interested in http://tc39.es/proposal-temporal/docs/index.html
Re:ARM chips have an instruction with JavaScript in the name
by MereInterest on Sunday October 18, 2020 @10:12PM
(#24822803)
Wow. `zonedDateTimeISO` looks like exactly what I was hoping for. I'm kind of surprised that there isn't anything analogous to `strftime`, though.