Replies: 2 comments 1 reply
-
Try with following: DateTime.fromISO(new Date().toISOString()).toISO().slice(0, 16) |
Beta Was this translation helpful? Give feedback.
0 replies
-
Or: someDateTime.startOf("minute").toISO({ includeOffset: false, suppressSeconds: true, suppressMilliseconds: true}) |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
How to get a format which can be compatible with
<input type="datetime-local">
?Beta Was this translation helpful? Give feedback.
All reactions