fix: issues with clock overflow on midnight (#456)

* fix: issues with clock overflow on midnight

* chore: version bump
This commit is contained in:
Carlos Valente
2023-07-17 13:53:50 +02:00
committed by GitHub
parent 4a0d83d970
commit c73f7e2207
6 changed files with 9 additions and 5 deletions
+4
View File
@@ -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;