Skip to content

Commit

Permalink
Merge pull request #19 from mju-likelion/bugfix/2400
Browse files Browse the repository at this point in the history
방 생성 시 24시가 선택지가 되지 않던 문제 픽스
  • Loading branch information
ndaemy authored Sep 4, 2023
2 parents e1bd67f + 3a492ca commit db1076f
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 db1076f

Please sign in to comment.