misc: Update relative dates (again)

This commit is contained in:
Xyphyn committed 2023-07-06 13:07:19 -07:00
1 parent e259ceb6e4
commit 71ca33d9fc
5 files changed
+12 -11

No files matched your search

+2 -1
View File
@@ -26,7 +26,8 @@
// Create a RelativeTimeFormat instance with user's locale and options
const rtf = new Intl.RelativeTimeFormat(navigator.language, {
numeric: 'auto',
numeric: 'always',
style: 'long',
})
return rtf.format(-value, thresholds[i].unit as any)