From 3eab7eab90050d60f0222ac0d08da7be0a53c300 Mon Sep 17 00:00:00 2001 From: mei23 Date: Sat, 21 Mar 2020 21:56:24 +0900 Subject: [PATCH] =?UTF-8?q?CI=E9=80=9A=E3=82=89=E3=81=AA=E3=81=84=E3=81=AE?= =?UTF-8?q?=E4=BF=AE=E6=AD=A3?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/prelude/time.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/prelude/time.ts b/src/prelude/time.ts index a65366d74a..a3b5a41460 100644 --- a/src/prelude/time.ts +++ b/src/prelude/time.ts @@ -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 {