upd: komentar diskusi

- Deskripsi:
- upd database
- tampilan api mobile komentar diskusi umum dan diskusi divisi

No Issues
This commit is contained in:
2025-10-13 17:19:20 +08:00
parent 411037ec4a
commit 3d5149cbba
4 changed files with 13 additions and 3 deletions

View File

@@ -18,7 +18,7 @@ export function countTime(date: Date) {
const seconds = totalSeconds;
if (days > 0) {
return moment(date).format("ll")
return String(dateNow.getFullYear()) == moment(date).format("YYYY") ? moment(date).format("DD MMM") : moment(date).format("ll")
} else if (hours > 0) {
return `${hours} jam`
} else if (minutes > 0) {