From 53f51178a70db727d21d0a7dfc371af0d1aee9c8 Mon Sep 17 00:00:00 2001 From: Hank-Choi Date: Mon, 28 Nov 2022 20:38:40 +0900 Subject: [PATCH] =?UTF-8?q?[#247]=20=EA=B0=95=EC=9D=98=20=EB=B3=80?= =?UTF-8?q?=EA=B2=BD=EC=8B=9C=20start=20=EC=9E=98=EB=AA=BB=20=EC=84=A4?= =?UTF-8?q?=EC=A0=95=EB=90=98=EB=8A=94=20=EB=B2=84=EA=B7=B8=20=ED=95=B4?= =?UTF-8?q?=EA=B2=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/core/timetable/TimetableLectureService.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/core/timetable/TimetableLectureService.ts b/src/core/timetable/TimetableLectureService.ts index 47fc9b6a..26bc6774 100644 --- a/src/core/timetable/TimetableLectureService.ts +++ b/src/core/timetable/TimetableLectureService.ts @@ -255,7 +255,7 @@ function syncRealTimeWithPeriod(lecture: any): void { const startTime = Time.fromHourMinuteString(it.start_time) const endTime = Time.fromHourMinuteString(it.end_time) it.len = it.len ? Number(it.len) : Math.ceil(endTime.subtract(startTime).minute / 30) / 2 - it.start = it.start ? Number(it.start) : startTime.subtractHour(8).getDecimalHour() + it.start = it.start ? Number(it.start) : Math.floor(startTime.subtractHour(8).minute / 30) / 2 }) }