calendar_monthly icon indicating copy to clipboard operation
calendar_monthly copied to clipboard

Date Changes 1 Hour Late

Open EcstaticMark opened this issue 6 years ago • 5 comments

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?

EcstaticMark avatar Jan 12 '19 21:01 EcstaticMark

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.

KirAsh4 avatar Jan 14 '19 03:01 KirAsh4

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 avatar Jan 14 '19 05:01 EcstaticMark

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

EcstaticMark avatar Feb 02 '19 06:02 EcstaticMark

I have same issue. My tz is Europe/Moscow

Anonym-tsk avatar Jun 16 '19 21:06 Anonym-tsk

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

hesspoint avatar Sep 25 '22 12:09 hesspoint