커뮤니티 게시물 시간

- 1개월 -> 1분 으로 표시되는 오류 수정
This commit is contained in:
Klaus 2024-02-12 17:09:05 +09:00
parent 537cdbb307
commit d32f503633
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}년전"
}
}