upd: komentar diskusi
- Deskripsi: - upd database - tampilan api mobile komentar diskusi umum dan diskusi divisi No Issues
This commit is contained in:
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user