mirror of
https://github.com/cpvalente/ontime.git
synced 2026-08-14 20:03:52 +00:00
fix: issues with clock overflow on midnight (#456)
* fix: issues with clock overflow on midnight * chore: version bump
This commit is contained in:
@@ -319,7 +319,11 @@ export class TimerService {
|
||||
}
|
||||
|
||||
update(force = false) {
|
||||
const previousTime = this.timer.clock;
|
||||
this.timer.clock = clock.timeNow();
|
||||
if (previousTime > this.timer.clock) {
|
||||
force = true;
|
||||
}
|
||||
|
||||
// we call integrations if we update timers
|
||||
let shouldNotify = false;
|
||||
|
||||
Reference in New Issue
Block a user