Skip to content

Commit

Permalink
Update cron.ts
Browse files Browse the repository at this point in the history
  • Loading branch information
ninja03 committed Feb 25, 2024
1 parent 2f258e1 commit 2048005
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cron.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
// 感想募集ツイート
Expand Down

0 comments on commit 2048005

Please sign in to comment.