Replies: 1 comment
-
I think your format string is incorrect. Just removing that portion, the I'd also recommend using Reproduction: https://codesandbox.io/s/date-fns-tz-question-4n9u4 |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Say I have a string with a US/Eastern offset in it. I can parse it into a utcDate like this:
Now if I try to use format to print it back out in US Eastern, I get this:
Why isn't that
2020-09-21 11:50 EDT
? This is in a node.js console and my time zone is US/Pacific.Beta Was this translation helpful? Give feedback.
All reactions