Skip to content

Commit

Permalink
tc
Browse files Browse the repository at this point in the history
  • Loading branch information
clee2000 committed Sep 9, 2024
1 parent f2326f2 commit b21443c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion torchci/lib/bot/utils.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import { Context, Probot } from "probot";
import urllib from "urllib";

export function isTime0(time: string): boolean {
return dayjs.utc(time) == dayjs.unix(0)
return dayjs.utc(time).valueOf() == 0;
}

export const TIME_0 = "1970-01-01 00:00:00.000000000";
Expand Down

0 comments on commit b21443c

Please sign in to comment.