MagicMirror icon indicating copy to clipboard operation
MagicMirror copied to clipboard

Weather module confusing days (switching to a new day before midnight)

Open Fredde87 opened this issue 11 months ago • 3 comments

Hey guys,

I have recently updated my MagicMirror to the latest version (was running a version several years old prior). Therefore I have now had to migrate to the new weather module.

But I found that the module confuses Today and Tomorrow. I am not sure from what exact time, but at least from 10pm onwards the days start to swap over rather than at midnight.

So for example it is current Tuesday 10:45pm (in London), and the Weather module shows, Today, Tomorrow and Friday. But a few hours earlier it showed Today, Tomorrow, Thursday. So it seems to think the next day has arrived too early.

If I check the openweather data I can see that Today is actually Wednesday (so it is actually tomorrow) and Tomorrow is actually Thursday.

So the module is just a bit too keen and switching over the days too soon (not at midnight). Any idea how I can fix that?

Fredde87 avatar Aug 08 '23 21:08 Fredde87