Rocket.Chat.Electron
Rocket.Chat.Electron copied to clipboard
Mexico City Timezone Data Incorrect, time off by one hour
Search before asking
- [X] I had searched in the issues and found no similar issues.
Operating System
- [X] macOS
- [ ] Windows
- [ ] Linux
Operating System Version
macOS 14.2
It happens on the web browser too?
No, it just happens on the Desktop app
Rocket.Chat Desktop App Version
3.9.14
Rocket.Chat Server Version
6.5
Describe the bug
Similar bug as #1181 and #1391 , when I run the Electron App with the Mexico City Timezone configured in System Settings in macOS 14.2 (see attached image), I find that the time is off by one hour. Changing the Timezone in System Settings to another city with same timezone (Tegucigalpa, Honduras) corrects the problem, it is an specific problem with Mexico City timezone: America/Mexico_City
How to Reproduce
- Configure Timezone in MacOS Settings to Mexico City.
- On Rocket.Chat, click on any chat and check the time of the messages, they should be off by one hour.
Describe your Expected behavior
The time should be the same, however it is off by one hour.
Anything else
Mexico removed its daylight savings time not long ago. Same as with #1391 #1181, this problem might be related to Electron and Node.js rather than Rocket.Chat.
Thanks for your attention.
Are you willing to submit a code contribution?
- [ ] Yes, I am willing to submit a Pull Request!