spacetime
spacetime copied to clipboard
No error if you pass in timestamped date with a timezone
I incorrectly was trying to do something like:
spacetime('2024-09-23T16:15:12.519+00:00', 'America/New_York')
thinking it would adjust this timestamp to my timezone.
Ultimately, what I wanted was spacetime('2024-09-23T16:15:12.519+00:00').goto("America/New_York")
.
It feels like the first call should throw an error of some sort if you pass in a timezone when one is already specified?