-
-
Notifications
You must be signed in to change notification settings - Fork 2.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Named offset not working as documented #1077
Comments
I'm sorry for the inconvenience, this feature has just been implanted and not released yet. Will be available in the next release soon. |
Noted, thanks for the prompt response. Any ETA on the next release? Additionally, should I proceed to close this issue? This is the 1st time I have ever reported one and I am not too sure how does one go about after submitting an issue |
This feature is released in 1.9.0. |
Hey @iamkun thanks for releasing the update. I have tested v1.9.0 and can confirm it works as expected |
Based on the advanced format documentation, using z and zzz should give named offsets (abbreviated and non-abbreviated)
https://day.js.org/docs/en/plugin/advanced-format
However, when trying to use z and zzz it doesn't work as specified.
My code (NodeJS with TypeScript)
Expected Output
Fri, 25 Sep 2020 04:47:06 -05:00 EST (Eastern Standard Time)
Actual Output
Fri, 25 Sep 2020 04:47:06 -05:00 z (zzz)
Node Version : v12.17.0
NPM Version : 6.14.4
dayjs Version: 1.8.36
The text was updated successfully, but these errors were encountered: