Skip to content

Commit 8f0dbcc

Browse files
committed
fix :the build and lint workflows error
1 parent 0f9feed commit 8f0dbcc

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

pages/index.page.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -110,7 +110,7 @@ function printEventsForNextWeeks(icalData: { [x: string]: any }) {
110110

111111
// Check if the event falls within the next 12 weeks
112112
if (startDate.isBetween(today, nextFourWeeksEnd, undefined, '[]')) {
113-
const utcDate = startDate.subtract(5.5,'hours'); // Already in UTC
113+
const utcDate = startDate.subtract(5.5, 'hours'); // Already in UTC
114114

115115
const time = utcDate.format('MMMM Do YYYY, h:mm a');
116116
const day = utcDate.format('D');
@@ -127,7 +127,7 @@ function printEventsForNextWeeks(icalData: { [x: string]: any }) {
127127
} else {
128128
// Simple case - no recurrences
129129
if (startDate.isBetween(today, nextFourWeeksEnd, undefined, '[]')) {
130-
const utcDate = startDate.subtract(5.5,'hours'); // Already in UTC
130+
const utcDate = startDate.subtract(5.5, 'hours'); // Already in UTC
131131

132132
const time = utcDate.format('MMMM Do YYYY, h:mm a');
133133
const day = utcDate.format('D');

0 commit comments

Comments
 (0)