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

Date Changes 1 Hour Late #10

Open
EcstaticMark opened this issue Jan 12, 2019 · 5 comments
Open

Date Changes 1 Hour Late #10

EcstaticMark opened this issue Jan 12, 2019 · 5 comments

Comments

@EcstaticMark
Copy link

The date in calendar_monthly changes to the next day at 1 AM instead of midnight. This is on Raspian Stretch. Other time-related modules - default clock, upcoming events, etc. - update at midnight. I browsed through the code and didn't see anything like DST on/off. Raspian is set to New York TZ. Not sure where to look for the problem. I'm using calendar_monthly from 1/6.

Any thoughts on how to track down the source of the issue?

@KirAsh4
Copy link
Owner

KirAsh4 commented Jan 14, 2019

I'm pretty certain the time gets set by the underlying OS. So if it's not changing at the correct time, check that the OS itself has the correct time, correct timezone, as well as whether your area observes daylight savings.

@EcstaticMark
Copy link
Author

Date and time on the RPi are correct. I have the TZ set to New York, which is nearest to me and is in the same zone ( EST, UTC-05:00) . We start Daylight Saving Time on Sunday March 10, 2019, 2:00 AM local. The system time and other date/time-related modules in MagicMirror change at midnight.

To the best of my knowledge, Stretch is getting its time from an NTP server. I've never had to set the date and time manually on an RPi.

I searched for setting DST on/off in Stretch and am led to believe the O/S does it internally. Thing is, if I change anything in the O/S then the time for everything else would be wrong between midnight and 1 AM.

Here's a screenshot showing the issue:

image 1

@EcstaticMark
Copy link
Author

EcstaticMark commented Feb 2, 2019

The month didn't update. It updated when I reloaded Electron. Also, Stretch uses timedatectl to update date and time.
I'll probably end up doing a fresh install of the O/S and MM2. This is a real head-scratcher.

image 2

@Anonym-tsk
Copy link

I have same issue. My tz is Europe/Moscow

@hesspoint
Copy link

same issue here. Like 00:15 it still shows the previous day. Next morning it it is updated. I think restart of MM will trigger a refresh immidiately

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

4 participants