We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 1d3ff89 commit f26d933Copy full SHA for f26d933
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