Skip to content

Scheduling infrastructure for absolutely everyone.

fix(api-v2): correctly parse ISO timezone offsets when rescheduling bookings (#28333)

Hemant M Mehtaf7b2f2762c3d
diff --git a/packages/platform/types/bookings/2024-08-13/inputs/reschedule-booking.input.ts b/packages/platform/types/bookings/2024-08-13/inputs/reschedule-booking.input.ts
index 233b8aaa3cf..4089104a9cb 100644
--- a/packages/platform/types/bookings/2024-08-13/inputs/reschedule-booking.input.ts
+++ b/packages/platform/types/bookings/2024-08-13/inputs/reschedule-booking.input.ts
@@ -8,8 +8,8 @@ owner will have to confirm the rescheduled booking.`;
export class RescheduleBookingInput_2024_08_13 {
@IsDateString()
@ApiProperty({
- description: "Start time in ISO 8601 format for the new booking",
- example: "2024-08-13T10:00:00Z",
+ description: "The start time of the booking in ISO 8601 format in UTC timezone.",
+ example: "2024-08-13T09:00:00Z",
})
start!: string;
@@ -47,8 +47,8 @@ export class RescheduleBookingInput_2024_08_13 {
export class RescheduleSeatedBookingInput_2024_08_13 {
@IsDateString()
@ApiProperty({
- description: "Start time in ISO 8601 format for the new booking",
- example: "2024-08-13T10:00:00Z",
+ description: "The start time of the booking in ISO 8601 format in UTC timezone.",
+ example: "2024-08-13T09:00:00Z",
})
start!: string;