From 2048005a553e260273c6f3bf29f2c13a929c5754 Mon Sep 17 00:00:00 2001 From: ninja03 <69106571+ninja03@users.noreply.github.com> Date: Sun, 25 Feb 2024 13:56:02 +0900 Subject: [PATCH] Update cron.ts --- cron.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cron.ts b/cron.ts index c7a9a96..ce599e6 100644 --- a/cron.ts +++ b/cron.ts @@ -11,7 +11,7 @@ export function startCron() { for await (const eventItem of eventItems) { const target = eventItem.value; console.log("target", target); - const deadLine = formatDTS(new Date(target.joinDeadline).toUTCString); + const deadLine = formatDTS(new Date(target.joinDeadline)); console.log("cron now=", now, "deadline=", deadLine); if (now == deadLine) { // 感想募集ツイート