spacetime icon indicating copy to clipboard operation
spacetime copied to clipboard

No error if you pass in timestamped date with a timezone

Open eipark opened this issue 5 months ago • 2 comments

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?

eipark avatar Sep 23 '24 16:09 eipark