We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 01b991b + f26d933 commit d1bebe0Copy full SHA for d1bebe0
1 file changed
hooks/useUpcomingPlanItems.ts
@@ -14,7 +14,7 @@ const startOfTomorrowKST = () => {
14
const d = kst.getUTCDate();
15
16
// 내일 00:00 KST => UTC로 다시 변환(= -9h)
17
- const tomorrowKSTMidnightUTC = new Date(Date.UTC(y, m, d + 2, 0, 0, 0));
+ const tomorrowKSTMidnightUTC = new Date(Date.UTC(y, m, d + 1, 0, 0, 0));
18
const backToLocal = new Date(
19
tomorrowKSTMidnightUTC.getTime() - 9 * 60 * 60 * 1000
20
);
0 commit comments