Skip to content

Commit

Permalink
fix: 24:00 이 선택지가 되지 않던 문제 픽스
Browse files Browse the repository at this point in the history
  • Loading branch information
ndaemy committed Sep 3, 2023
1 parent e1bd67f commit 3a492ca
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/api/rooms/dto/create-room.dto.ts
Original file line number Diff line number Diff line change
Expand Up @@ -11,10 +11,10 @@ export class CreateRoomDto {
dateOnly?: boolean;

@IsOptional()
@Matches(/^([01]\d|2[0-3]):([0-5]\d)$/)
@Matches(/^([01]\d|2[0-4]):([0-5]\d)$/)
startTime?: string;

@IsOptional()
@Matches(/^([01]\d|2[0-3]):([0-5]\d)$/)
@Matches(/^([01]\d|2[0-4]):([0-5]\d)$/)
endTime?: string;
}

0 comments on commit 3a492ca

Please sign in to comment.