Skip to content

Commit

Permalink
Merge pull request #286 from TEAM-MODDY/fix/#285
Browse files Browse the repository at this point in the history
#285 [fix] 만료 일자 2주로 변경
  • Loading branch information
hellozo0 authored Sep 27, 2024
2 parents edd6acc + aa46c53 commit 5ba284d
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -54,12 +54,12 @@ public LocalDate getCreatedDate(){
return createdDate;
}
public LocalDate getExpiredDate(){
LocalDate expiredDate = getCreatedAt().plusDays(7).toLocalDate();
LocalDate expiredDate = getCreatedAt().plusDays(14).toLocalDate();
return expiredDate;
}

public boolean isExpired() {
LocalDate expiredDate = getCreatedAt().plusDays(7).toLocalDate();
LocalDate expiredDate = getCreatedAt().plusDays(14).toLocalDate();
LocalDate currentDate = LocalDate.now();

return currentDate.isAfter(expiredDate);
Expand Down

0 comments on commit 5ba284d

Please sign in to comment.