mirror of
https://github.com/misskey-dev/misskey.git
synced 2025-01-11 01:00:07 +09:00
CI通らないの修正
This commit is contained in:
parent
fc0b86fe19
commit
3eab7eab90
@ -5,7 +5,7 @@ const dateTimeIntervals = {
|
|||||||
};
|
};
|
||||||
|
|
||||||
export function dateUTC(time: number[]): Date {
|
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 {
|
export function isTimeSame(a: Date, b: Date): boolean {
|
||||||
|
Loading…
Reference in New Issue
Block a user