mirror of
https://github.com/cpvalente/ontime.git
synced 2026-08-06 16:03:52 +00:00
023aac4ead
* 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
10 lines
128 B
TypeScript
10 lines
128 B
TypeScript
/**
|
|
* Milliseconds in a second
|
|
*/
|
|
export const mts = 1000;
|
|
|
|
/**
|
|
* Milliseconds in a day
|
|
*/
|
|
export const dayInMs = 86400000;
|