Skip to content

Commit d1bebe0

Browse files
authored
Merge pull request #58 from DeveloperBlog-Devflow/feature/heatmap-section
fix: 내일 일정이 보이지 않는 버그 해결
2 parents 01b991b + f26d933 commit d1bebe0

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

hooks/useUpcomingPlanItems.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ const startOfTomorrowKST = () => {
1414
const d = kst.getUTCDate();
1515

1616
// 내일 00:00 KST => UTC로 다시 변환(= -9h)
17-
const tomorrowKSTMidnightUTC = new Date(Date.UTC(y, m, d + 2, 0, 0, 0));
17+
const tomorrowKSTMidnightUTC = new Date(Date.UTC(y, m, d + 1, 0, 0, 0));
1818
const backToLocal = new Date(
1919
tomorrowKSTMidnightUTC.getTime() - 9 * 60 * 60 * 1000
2020
);

0 commit comments

Comments
 (0)