Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
MereInterest
on Oct 18, 2020
|
parent
|
context
|
favorite
| on:
ARM chips have an instruction with JavaScript in t...
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.
mr_toad
on Oct 18, 2020
[–]
You might be interested in
http://tc39.es/proposal-temporal/docs/index.html
MereInterest
on Oct 19, 2020
|
parent
[–]
Wow. `zonedDateTimeISO` looks like exactly what I was hoping for. I'm kind of surprised that there isn't anything analogous to `strftime`, though.
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search: