1
0
forked from mirror/misskey

CI通らないの修正

This commit is contained in:
mei23 2020-03-21 21:56:24 +09:00
parent fc0b86fe19
commit 3eab7eab90
No known key found for this signature in database
GPG Key ID: DD8628500D3E4B23

View File

@ -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 {