Absolute time format

This commit is contained in:
Matrix-Sasuke 2024-11-13 09:19:17 +00:00 committed by HJ
commit 898881bac1
3 changed files with 3 additions and 2 deletions

View file

@ -61,7 +61,7 @@ export default {
})
} else if (DateUtils.isSameMonth(this.timeAsDate, now)) {
return new Intl.DateTimeFormat(this.browserLocale, {
hour: 'numeric',
month: 'short',
day: 'numeric'
})
} else if (DateUtils.isSameYear(this.timeAsDate, now)) {