@Zambuca the Rapsberry Pi is notoriously bad about keeping time, and Javascript timers over time don’t fare much better.
To mitigate this, first install NTP to make sure your Raspberry Pi syncs with an online TV service periodically. Next, I suggest setting a cron job to restart MagicMirror maybe each night when you’re asleep to reset JavaScript timers.
This won’t get rid of the problem entirely, as you’ll still be at the whim of the refresh cycle of the module — if the module is set to refresh it’s data every five minutes, the show/hide can be off by as much as five minutes. The show/hide check is done during data refresh.