This reverts commit 0420c548da
.
This commit is contained in:
parent
0420c548da
commit
1b48e0d6e0
5 changed files with 68 additions and 20 deletions
|
@ -5,7 +5,7 @@ const dateTimeIntervals = {
|
|||
};
|
||||
|
||||
export function dateUTC(time: number[]): Date {
|
||||
return new Date(Date.UTC(time[0], time[1], time[2], time[3], time[4], time[5], time[6]));
|
||||
return new Date(Date.UTC(...time));
|
||||
}
|
||||
|
||||
export function isTimeSame(a: Date, b: Date): boolean {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue