Skip to content
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

Wrong time due to recent Mexico time zone & DST changes #6

Open
daviddesmet opened this issue Apr 21, 2023 · 1 comment
Open

Wrong time due to recent Mexico time zone & DST changes #6

daviddesmet opened this issue Apr 21, 2023 · 1 comment

Comments

@daviddesmet
Copy link

Hello,

On the evening of October 28, 2022, the Mexican government published a decree that rescinded the DST changes for the entire country, and moved the time zone for certain regions.

The problem is that the decree took effect on October 30, at midnight.

Adiós al horario de verano | Secretaría de Energía | Gobierno | gob.mx (www.gob.mx) (Governent official website, in Spanish)

Basically, the changes are:

  • Mexico Central Time (Mexico City, Guadalajara, Monterrey) stays at UTC-6, but removes DST change from April, 2023
  • Mexico Mountain Time (Chihuahua, Mazatlan, La Paz) stays at UTC-7, but removes DST change from April, 2023
  • Chihuahua moves to UTC-6, without DST (this applied Oct. 30)

Some municipalities that border with the US will be using US time zones for now.

With that being said, the issue is that right now the clock is displaying the time by 1 hour forward. For example, right now is 9:02 but is displaying 10:02.

Would be nice if this gets fixed since right now the clock is pretty useles.

@tiptronic
Copy link
Contributor

Hi @daviddesmet,

the analogclock sample-plugin uses the time reported by your operating system to it. (localTimeString).

So most likely this is not (yet) in sync with all the current changes, but will catch-up at some point in time. There's no real control over those time-settings (other than adjusting the value manually in the source-code).

If you want to stick with these GitHub samples, you could try the Sample-Clock-Plugin, but I think the result is similar, because it also relies on the local time reported by the system to Stream Deck.

Or you can try the newer Clocks plugin from our Stream Deck Store, which has built-in support for timezones in the WorldClock action. There you have a bit more control over DST and timezones.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants