mirror of
https://github.com/MagicMirrorOrg/MagicMirror.git
synced 2026-04-21 03:00:52 -04:00
Set minute/second in our model based on the actual time from moment() rather than our own attempt to track the time - which can drift or fail to respond to time changes. Also, schedule time refreshes to happen 50ms after the minute/second is expected to change - preventing premature fires and rapid re-firings of notifications due to accuracy limits in setTimeout