Rocket.chat.electron: Wrong time for Brazil timezone for DST areas

Created on 7 Nov 2019  路  9Comments  路  Source: RocketChat/Rocket.Chat.Electron

The docker image with the daylight saving time tzdata package is out of date.

In Brazil (-03:00) no longer has daylight saving time but is displaying timezone with -02:00

apt list --installed | grep tzdata
WARNING: apt does not have a stable CLI interface. Use with caution in scripts.
tzdata/now 2019b-0+deb9u1 all [installed,local]

bug

All 9 comments

I'm facing the same issue with snap installation, TZData is out of date, I cound'nt fix it yet..

Moved the issue to the right repository as it happens only on the desktop app.

The issue itself is related to NodeJS and not to Rocket.Chat itself: https://github.com/nodejs/node/issues/30211

we're trying to work on a workaround while the official fix is not released by NodeJS

I have the same issue, in version 2.16.2 this may seems OK

It's totally a "band-aid", a tempfix, but if you set the "TZ" environment variable to "America/Bahia" and then execute the application, it works.
I use Ubuntu, so I changed the "Exec" on rocketchat-desktop.desktop to this:
Exec=sh -c "TZ='America/Bahia' /opt/Rocket.Chat/rocketchat-desktop %U"

Works for me.

I'm closing it since I believe it's fixed at the develop branch, soon to be released as 2.17.0.

Will version 2.17 be released in the Mac AppStore ?

@lkraider I'm waiting for news about Electron 7 passing through the App Store validation. Until there, we're blocked. :disappointed:

Was this page helpful?
0 / 5 - 0 ratings

Related issues

dryabchenko picture dryabchenko  路  5Comments

Vkat14 picture Vkat14  路  4Comments

AlynxZhou picture AlynxZhou  路  4Comments

samcarter8 picture samcarter8  路  3Comments

tendo256 picture tendo256  路  4Comments