mirror of
https://github.com/cpvalente/ontime.git
synced 2026-08-19 06:04:05 +00:00
fix: midnight roll (#484)
* refactor: extract utilities and types * refactor: extract and simplify progress bar logic * refactor: duration validation handles midnight * fix: prevent stale event loader * refactor: consider next event in timer invalidation * refactor: reload changes on changed roll target * refactor: timer load accounts for midnight * fix: issues with midnight on roll * refactor: prevent stale secondary event
This commit is contained in:
@@ -1 +1,9 @@
|
||||
export const mts = 1000; // millis to seconds
|
||||
/**
|
||||
* Milliseconds in a second
|
||||
*/
|
||||
export const mts = 1000;
|
||||
|
||||
/**
|
||||
* Milliseconds in a day
|
||||
*/
|
||||
export const dayInMs = 86400000;
|
||||
|
||||
Reference in New Issue
Block a user