Skip to content

Commit

Permalink
[New 아이콘] 14일 -> 48시간
Browse files Browse the repository at this point in the history
  • Loading branch information
hoban4336 committed Jun 11, 2024
1 parent 595d7c1 commit aa2aee2
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -237,7 +237,7 @@ public static boolean isOwner(CommonPostDto dto) {
}

public static boolean isNew(CommonPostDto dto) {
LocalDateTime fourteenDaysAgo = LocalDateTime.now().minusDays(14);
LocalDateTime fourteenDaysAgo = LocalDateTime.now().minusHours(48);
return dto.getCreatedAt().isAfter(fourteenDaysAgo);
}

Expand Down
4 changes: 4 additions & 0 deletions src/main/resources/application.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -69,5 +69,9 @@ springdoc:
api-docs:
enabled: true
path: /api-docs

logging:
level:
com.aptner.v3: DEBUG
---

0 comments on commit aa2aee2

Please sign in to comment.