by mattdw · 1y ago · 0 comments
>> zdt = Temporal.Now.zonedDateTimeISO()
>> zdt.toJSON()
"2025-01-24T19:57:01.089557834-05:00[America/New_York]"
>> zdt.toString()
"2025-01-24T19:57:01.089557834-05:00[America/New_York]"
Temporal will even check that the offset is still correct for the time zone when you deserialize.