Skip to content

Commit

Permalink
Merge pull request #298 from tipi-tapi/develop
Browse files Browse the repository at this point in the history
Release 1.2.4
  • Loading branch information
choihuk authored Feb 21, 2024
2 parents 2f90ff2 + 676967c commit 0810ff1
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,8 @@ public boolean isValid(LocalDate value, ConstraintValidatorContext context) {
if (value == null) {
return true;
}
return !value.isAfter(LocalDate.now());
LocalDate serverDate = LocalDate.now().plusDays(1);
return !value.isAfter(serverDate);
}

}
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
@Documented
public @interface ValidDiaryDate {

String message() default "๋ฏธ๋ž˜์˜ ๋‚ ์งœ๋Š” ์ž…๋ ฅํ•  ์ˆ˜ ์—†์Šต๋‹ˆ๋‹ค.";
String message() default "๋‚ด์ผ๋ณด๋” ๋จผ ๋‚ ์งœ๋Š” ์ž…๋ ฅํ•  ์ˆ˜ ์—†์Šต๋‹ˆ๋‹ค.";

Class[] groups() default {};

Expand Down

0 comments on commit 0810ff1

Please sign in to comment.