Information
Spacetime Version: v6.8.0
Example: https://codesandbox.io/s/inspiring-voice-qnons?file=/src/App.vue
Browsers Tested
Hi, I'm experiencing a problem with timestamps that are near the DST boundary and converted to CST when the users system is set to CST as well.
I have a timestamp which is being returned from my API in UTC, I'm then using spacetime to then convert this to CST. Prior to the recent release which included pr #233, (If I recall correctly) the offset of the timestamp after converting to CST was wrong regardless of my system timezone (01-11-2020T04:00 would always be 01-11-2020T00:00).
After the most recent release the time is fine when I have my system set to Europe/London but when I change the timezone on my Mac to America/Chicago the offset is incorrect again. Also, people working on the same application in the CST timezone are seeing the incorrect value.
Reproduction Steps
- Set system timezone to
Europe/London
- Visit example link above and see that the
dateCst is displayed correctly - 2020-10-31T23:00:00.000-05:00
- Change system timezone to
America/Chicago
- Refresh code sandbox and see that
dateCst timestamp is now incorrect - 2020-11-01T00:00:00.000-05:00
Information
Spacetime Version: v6.8.0
Example: https://codesandbox.io/s/inspiring-voice-qnons?file=/src/App.vue
Browsers Tested
Hi, I'm experiencing a problem with timestamps that are near the DST boundary and converted to CST when the users system is set to CST as well.
I have a timestamp which is being returned from my API in UTC, I'm then using spacetime to then convert this to CST. Prior to the recent release which included pr #233, (If I recall correctly) the offset of the timestamp after converting to CST was wrong regardless of my system timezone (
01-11-2020T04:00would always be01-11-2020T00:00).After the most recent release the time is fine when I have my system set to
Europe/Londonbut when I change the timezone on my Mac toAmerica/Chicagothe offset is incorrect again. Also, people working on the same application in the CST timezone are seeing the incorrect value.Reproduction Steps
Europe/LondondateCstis displayed correctly -2020-10-31T23:00:00.000-05:00America/ChicagodateCsttimestamp is now incorrect -2020-11-01T00:00:00.000-05:00