implement editing maintenance windows

This commit is contained in:
Alex Holliday committed 2024-10-09 14:10:38 +08:00
1 parent e3c0944062
commit ad9d735127
8 files changed
+148 -47

No files matched your search

+1
View File
@@ -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);