Skip to content

Commit ba70e4a

Browse files
committed
UTC IST Time fix
1 parent 3ed0120 commit ba70e4a

2 files changed

Lines changed: 1 addition & 3 deletions

File tree

client/next-env.d.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
/// <reference types="next" />
22
/// <reference types="next/image-types/global" />
3-
import "./.next/dev/types/routes.d.ts";
3+
import "./.next/types/routes.d.ts";
44

55
// NOTE: This file should not be edited
66
// see https://nextjs.org/docs/app/api-reference/config/typescript for more information.

client/src/app/display/[id]/page.tsx

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -75,8 +75,6 @@ export default function DisplayModePage() {
7575
}))
7676
.sort((a: DisplayBooking, b: DisplayBooking) => a.startTime.getTime() - b.startTime.getTime());
7777

78-
const now = new Date();
79-
8078
// Find current booking (now is between start and end)
8179
const current = roomBookings.find(
8280
(b: DisplayBooking) => isBefore(b.startTime, now) && isAfter(b.endTime, now)

0 commit comments

Comments
 (0)