Merge pull request #480 from SyncrowIOT/main

Update dev from main
This commit is contained in:
raf-dev1
2025-07-21 10:11:02 +03:00
committed by GitHub

View File

@ -7,8 +7,8 @@ export class BookingRequestDto {
example: '07-2025',
})
@IsNotEmpty()
@Matches(/^(0[1-9]|1[0-2])\/\d{4}$/, {
message: 'Date must be in MM-YYYY format',
@Matches(/^(0[1-9]|1[0-2])\-\d{4}$/, {
message: 'Date must be in MM/YYYY format',
})
month: string;