Open EcstaticMark opened 5 years ago
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.
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:
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.
I have same issue. My tz is Europe/Moscow
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
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?