Compare commits

...

2 Commits

Author SHA1 Message Date
klaus 67097696e6 Merge pull request '커뮤니티 게시물 시간' (#130) from test into main
Reviewed-on: #130
2024-02-12 08:14:24 +00:00
Klaus d32f503633 커뮤니티 게시물 시간
- 1개월 -> 1분 으로 표시되는 오류 수정
2024-02-12 17:09:05 +09:00
1 changed files with 1 additions and 1 deletions

View File

@ -272,7 +272,7 @@ class CreatorCommunityService(
duration.toMinutes() < 60 -> "${duration.toMinutes()}분전"
duration.toHours() < 24 -> "${duration.toHours()}시간전"
duration.toDays() < 30 -> "${duration.toDays()}일전"
duration.toDays() < 365 -> "${duration.toDays() / 30}개월"
duration.toDays() < 365 -> "${duration.toDays() / 30}개월"
else -> "${duration.toDays() / 365}년전"
}
}