Update dependencies (#6167)
* Update CI (#11) * Update nodejs.yml * Fix time * no docker * no CI * build only * Update dependencies
This commit is contained in:
parent
6e98b75d13
commit
0420c548da
5 changed files with 20 additions and 68 deletions
|
@ -5,7 +5,7 @@ const dateTimeIntervals = {
|
|||
};
|
||||
|
||||
export function dateUTC(time: number[]): Date {
|
||||
return new Date(Date.UTC(...time));
|
||||
return new Date(Date.UTC(time[0], time[1], time[2], time[3], time[4], time[5], time[6]));
|
||||
}
|
||||
|
||||
export function isTimeSame(a: Date, b: Date): boolean {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue