When using <input type="datetime-local"> it's quite common to go straight from and to JS Date. We could provide some utils to help:
datetimeLocalToInstant(timezone: string)(datetimeLocal: string): Date
instantToDatetimeLocal(timezone: string)(instant: Date): string
When using
<input type="datetime-local">it's quite common to go straight from and to JSDate. We could provide some utils to help:datetimeLocalToInstant(timezone: string)(datetimeLocal: string): DateinstantToDatetimeLocal(timezone: string)(instant: Date): string