Merged in fix/SW-3078-wrong-dates-time-zones (pull request #2388)
fix(SW-3078): change to string instead of Date in Zod schema * fix(SW-3078): change to string instead of Date in Zod schema Approved-by: Michael Zetterberg Approved-by: Linus Flood
This commit is contained in:
@@ -6,9 +6,9 @@ export interface BookingConfirmationProviderProps
|
||||
extends React.PropsWithChildren {
|
||||
bookingCode: string | null
|
||||
currencyCode: CurrencyEnum
|
||||
fromDate: Date
|
||||
fromDate: string
|
||||
roomCategories: RoomCategories
|
||||
rooms: (Room | null)[]
|
||||
toDate: Date
|
||||
toDate: string
|
||||
vat: number
|
||||
}
|
||||
|
||||
@@ -22,7 +22,7 @@ export interface Room {
|
||||
childrenAges?: number[]
|
||||
confirmationNumber: string
|
||||
currencyCode: CurrencyEnum
|
||||
fromDate: Date
|
||||
fromDate: string
|
||||
name: string
|
||||
packages: BookingConfirmation["booking"]["packages"]
|
||||
formattedRoomCost: string
|
||||
@@ -32,7 +32,7 @@ export interface Room {
|
||||
roomPoints: number
|
||||
roomPrice: number
|
||||
roomTypeCode: string | null
|
||||
toDate: Date
|
||||
toDate: string
|
||||
totalPrice: number
|
||||
totalPriceExVat: number
|
||||
vatAmount: number
|
||||
@@ -41,9 +41,9 @@ export interface Room {
|
||||
|
||||
export interface InitialState {
|
||||
bookingCode: string | null
|
||||
fromDate: Date
|
||||
fromDate: string
|
||||
rooms: (Room | null)[]
|
||||
toDate: Date
|
||||
toDate: string
|
||||
currencyCode: CurrencyEnum
|
||||
roomCategories: RoomCategories
|
||||
vat: number
|
||||
|
||||
Reference in New Issue
Block a user