Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

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.



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: