fix: remove unused function
This commit is contained in:
@@ -171,10 +171,6 @@ export function getCron(
|
|||||||
return null;
|
return null;
|
||||||
}
|
}
|
||||||
|
|
||||||
function dtStartFormat(date: Date): string {
|
|
||||||
return `${date.getFullYear().toFixed(0)}${(date.getMonth() + 1).toFixed(0).padStart(2, "0")}${date.getDate().toFixed(0).padStart(2, "0")}T000000Z`;
|
|
||||||
}
|
|
||||||
|
|
||||||
export function isOneTime(cron: string | null): boolean {
|
export function isOneTime(cron: string | null): boolean {
|
||||||
return cron === ONE_TIME_VALUE;
|
return cron === ONE_TIME_VALUE;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user