diff --git a/src/app/stores/roomStore.ts b/src/app/stores/roomStore.ts index d3f1f53..1ae85c4 100644 --- a/src/app/stores/roomStore.ts +++ b/src/app/stores/roomStore.ts @@ -1,9 +1,11 @@ -import moment from "moment"; +import moment from "moment-timezone"; import { create } from "zustand"; import { Room } from "../interface/room"; import { useUserStore } from "./userStore"; import { roomsService } from "../services/rooms.service"; +moment.tz.setDefault("UTC"); + type RoomStoreState = { future: Room[] | null; actual: Room[] | null;