Day.JS TimeZone SetDefault Bug
See original GitHub issueDescribe the bug
tz.setDefault() doesn’t set timezone when starting bot and displays wrong time when using.
Expected behavior I expected correct operation, after entering the time it was supposed to be displayed in the custom default time zone.
Information
- Day.js Version: 1.9.7
- OS: Ubuntu
- Browser: Node.JS app, not browser
- Time zone: GMT +01:00 Europe/Warsaw
Issue Analytics
- State:
- Created 3 years ago
- Reactions:6
- Comments:15
Top Results From Across the Web
dayjs.tz.setDefault bug - CodeSandbox
VS Code's tsserver was deleted by another application such as a misbehaving virus detection tool. Please reinstall VS Code. Manage Extension.
Read more >Set Default Timezone
Change default timezone from local time zone to your custom timezone. You can still custom a different timezone in a specific dayjs object....
Read more >dayjs() is in the wrong timezone - javascript - Stack Overflow
Simply using the utc plugin without the timezone plugin somehow had the desired effect. import utc from 'dayjs/plugin/utc'; day.extend(utc); ...
Read more >day.js default timezone problem #1227 - Issuehunt
I am having trouble in the following scenario: When I set the default timezone, using dayjs.tz.setDefault("America/New_York") and then create new object ...
Read more >CHANGELOG.md | dayjs@v1.11.3 - Deno
Day.js 2kB immutable date-time library alternative to Moment.js with the same ... milliseconds bug (#1042) (fe2301b); Timezone plugin set default timezone ...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found

version 1.10.4 has same issue
@iamkun any news here? I’v got the same