fix: moment timezone
This commit is contained in:
parent
90fd37fde1
commit
259f7fba54
@ -1,9 +1,11 @@
|
|||||||
import moment from "moment";
|
import moment from "moment-timezone";
|
||||||
import { create } from "zustand";
|
import { create } from "zustand";
|
||||||
import { Room } from "../interface/room";
|
import { Room } from "../interface/room";
|
||||||
import { useUserStore } from "./userStore";
|
import { useUserStore } from "./userStore";
|
||||||
import { roomsService } from "../services/rooms.service";
|
import { roomsService } from "../services/rooms.service";
|
||||||
|
|
||||||
|
moment.tz.setDefault("UTC");
|
||||||
|
|
||||||
type RoomStoreState = {
|
type RoomStoreState = {
|
||||||
future: Room[] | null;
|
future: Room[] | null;
|
||||||
actual: Room[] | null;
|
actual: Room[] | null;
|
||||||
|
Loading…
Reference in New Issue
Block a user