Skip to content
Snippets Groups Projects
Commit 2309680c authored by syuilo's avatar syuilo
Browse files

Refactor

parent d3fd0f81
No related branches found
No related tags found
No related merge requests found
......@@ -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 {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment