This commit is contained in:
syuilo 2020-02-29 16:38:07 +09:00
parent 75d56ff255
commit 49734661dc

View file

@ -11,7 +11,7 @@ export function DateUTC(time: number[]): Date {
}
export function isTimeSame(a: Date, b: Date): boolean {
return (a.getTime() - b.getTime()) === 0;
return a.getTime() === b.getTime();
}
export function isTimeBefore(a: Date, b: Date): boolean {