implement editing maintenance windows
This commit is contained in:
1 parent
e3c0944062
commit
ad9d735127
8 files changed
+148
-47
No files matched your search
@@ -8,6 +8,7 @@ export const MS_PER_SECOND = 1000;
|
||||
export const MS_PER_MINUTE = 60 * MS_PER_SECOND;
|
||||
export const MS_PER_HOUR = 60 * MS_PER_MINUTE;
|
||||
export const MS_PER_DAY = 24 * MS_PER_HOUR;
|
||||
export const MS_PER_WEEK = MS_PER_DAY * 7;
|
||||
|
||||
export const formatDuration = (ms) => {
|
||||
const seconds = Math.floor(ms / 1000);
|
||||
|
||||
Reference in new issue
Block a user