Dev Build / cleanup (push) Canceled after 0s
Dev Build / typecheck (push) Canceled after 0s
Dev Build / build (linux-arm64, ubuntu-24.04-arm, linux-arm64) (push) Canceled after 0s
Dev Build / build (linux-x64, ubuntu-latest, linux-x64) (push) Canceled after 0s
Dev Build / build (win-x64, windows-latest, win32-x64) (push) Canceled after 0s
Dev Build / dispatch-dev-docker (push) Canceled after 0s
24 lines
354 B
Plaintext
24 lines
354 B
Plaintext
const MS_IN_SECOND = 1e3;
|
|
const MS_IN_MINUTE = 6e4;
|
|
const MS_IN_HOUR = 36e5;
|
|
const MS_IN_DAY = 864e5;
|
|
const rangeOfUnits = [
|
|
"time",
|
|
"year",
|
|
"month",
|
|
"date",
|
|
"day",
|
|
"hour",
|
|
"minute",
|
|
"second",
|
|
"millisecond",
|
|
"utcOffset"
|
|
];
|
|
export {
|
|
MS_IN_DAY as M,
|
|
MS_IN_HOUR as a,
|
|
MS_IN_MINUTE as b,
|
|
MS_IN_SECOND as c,
|
|
rangeOfUnits as r
|
|
};
|