diff --git a/db/booking.ts b/db/booking.ts index d10b004..91819a4 100644 --- a/db/booking.ts +++ b/db/booking.ts @@ -49,13 +49,13 @@ const BookingSchema = new mongoose.Schema( type: Date, required: true, get: dateFormatBackend, - min: new Date(), + min: nowInTz(), }, endDate: { type: Date, required: false, get: dateFormatBackend, - min: new Date(), + min: nowInTz(), }, days: { type: [String],