Skip to content

Commit

Permalink
Merge pull request #155 from fastcampus-711/feature/bug
Browse files Browse the repository at this point in the history
[New 아이콘] 14일 -> 48시간
  • Loading branch information
having-dlrow authored Jun 11, 2024
2 parents 64fa0d7 + aa2aee2 commit 6d20ea4
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 6d20ea4

Please sign in to comment.