Skip to content

Commit

Permalink
Change time
Browse files Browse the repository at this point in the history
  • Loading branch information
VasylyshynDmytro committed Dec 2, 2024
1 parent 6de3a16 commit bcdd6d1
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -930,7 +930,7 @@ private void checkingEqualityDateTimeInEventDateLocationDto(List<EventDateLocati
.filter(eventDateLocationDto -> Duration.between(
eventDateLocationDto.getStartDate(),
eventDateLocationDto.getFinishDate()
).toMinutes() <= 29)
).toMinutes() < 30)
.findAny()
.ifPresent(eventDateLocationDto -> {
throw new IllegalArgumentException(ErrorMessage.INVALID_DURATION_BETWEEN_START_AND_FINISH);
Expand Down

0 comments on commit bcdd6d1

Please sign in to comment.