-
-
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
Using of "dayjs/plugin/timezone" causes Uncaught TypeError: Cannot set property of undefined #1351
Comments
can you provide a reproduction repo? |
Thank you for reply!
|
you can check the doc here https://day.js.org/docs/en/timezone/parsing-in-zone Timezone plugin depends on utc plugin |
Thank you very much! This solved my problem! |
Describe the bug
I have this small code where I try to use tz function:
On the last line I get an error in Chrome console:
I tried to copy paste all the examples from documentation and non of timezone examples worked for me. Could you please tell me what am I doing wrong?
Expected behavior
Function tz can be used in my code.
Information
The text was updated successfully, but these errors were encountered: