mirror of
https://github.com/louislam/uptime-kuma.git
synced 2025-07-24 07:21:09 -04:00
Implement generateTimeslot() for recurring interval type
This commit is contained in:
parent
8cc3e4b7c1
commit
2faf866e9e
6 changed files with 87 additions and 24 deletions
|
@ -9,6 +9,7 @@ console.log("Welcome to Uptime Kuma");
|
|||
const dayjs = require("dayjs");
|
||||
dayjs.extend(require("dayjs/plugin/utc"));
|
||||
dayjs.extend(require("dayjs/plugin/timezone"));
|
||||
dayjs.extend(require("dayjs/plugin/customParseFormat"));
|
||||
|
||||
// Check Node.js Version
|
||||
const nodeVersion = parseInt(process.versions.node.split(".")[0]);
|
||||
|
@ -1110,6 +1111,7 @@ let needSetup = false;
|
|||
});
|
||||
|
||||
sendInfo(socket);
|
||||
server.sendMaintenanceList(socket);
|
||||
|
||||
} catch (e) {
|
||||
callback({
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue