Y
Hacker News
new
|
ask
|
show
|
jobs
by
MereInterest
2076 days ago
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.
1 comments
mr_toad
2075 days ago
You might be interested in
http://tc39.es/proposal-temporal/docs/index.html
link
MereInterest
2075 days ago
Wow. `zonedDateTimeISO` looks like exactly what I was hoping for. I'm kind of surprised that there isn't anything analogous to `strftime`, though.
link