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
The construction of a Spacetime instance seems to be affected by the system timezone, even when a specific timezone is supplied as the second parameter:
// system timezone set to Europe/Londonspacetime('2022-10-30 00:00:00','America/New_York').epoch// = 1667098800000 - wrong - should be: 1667102400000spacetime('2022-10-30 00:00:00','America/New_York').format('iso-utc')// = 2022-10-30T03:00:00.000Z - wrong - should be: 2022-10-30T04:00:00.000Z
This seems to being affected by the fact that in London there is a DST change on that day. But that should be irrelevant given that we've been explicit about what we mean in the constructor.
The text was updated successfully, but these errors were encountered:
The construction of a Spacetime instance seems to be affected by the system timezone, even when a specific timezone is supplied as the second parameter:
This seems to being affected by the fact that in London there is a DST change on that day. But that should be irrelevant given that we've been explicit about what we mean in the constructor.
The text was updated successfully, but these errors were encountered: