You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Inputs with absolute time (other than ISO8601 with time zone offset) seem to be parsed as UTC. Here is a simple NodeJS 20.12.0 example for America/New_York time zone (UTC-4 for the date used below):
Inputs with absolute time (other than ISO8601 with time zone offset) seem to be parsed as UTC. Here is a simple NodeJS 20.12.0 example for
America/New_York
time zone (UTC-4 for the date used below):Outputs:
If the input were interpreted in local time zone, UTC time would be
20:15:00Z
I've tried appending a time zone offset to the input string, but I either get parsing errors, or the offset is interpreted as the time itself.
Is it possible to parse input times in the local time zone? So that:
Thanks!
The text was updated successfully, but these errors were encountered: