mirror of
https://github.com/certd/certd.git
synced 2026-05-14 12:07:32 +08:00
perf: 所有授权增加测试按钮
This commit is contained in:
@@ -9,7 +9,7 @@ export function getCronNextTimes(cron: string, count: number = 1) {
|
||||
const interval = parser.parseExpression(cron);
|
||||
for (let i = 0; i < count; i++) {
|
||||
const next = interval.next().getTime();
|
||||
nextTimes.push(dayjs(next).valueOf());
|
||||
nextTimes.push(dayjs(next).format("YYYY-MM-DD HH:mm:ss"));
|
||||
}
|
||||
return nextTimes;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user