Closed
Description
Expected behaviour
new Date().getTimezoneOffset()
returns -180 for UTC+3.
DateTime.fromStandardDate(new Date()).toString()
should return the value YYYY-MM-DDThh:mm:ss.ms+03:00
.
Unexpected behaviour
DateTime.fromStandardDate(new Date()).toString()
returns the value YYYY-MM-DDThh:mm:ss.ms-03:00
.
JS Date.getTimezoneOffset() returns a negative offset for the positive local timezone.
Metadata
Metadata
Assignees
Labels
No labels