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
You need to use a NaiveDateTime if you don't have a timezone (which timestamps don't). Also I don't believe that this will work correctly until 0.4.1 is released, which will be soon.
Hi, I am also confused.
Even if using a DateTime<FixedOffset> I would assume all timestamps converted using %s to be in UTC, since that's part of the definition itself.
%s | 994518299 | UNIX timestamp, the number of seconds since 1970-01-01 00:00 UTC. [7]
I didn’t discover a unit test for parsing a Unix timestamp ("%s"). This test case fails, why?
The text was updated successfully, but these errors were encountered: