« get me outta code hell

rename other count utils - hsmusic-wiki - HSMusic - static wiki software cataloguing collaborative creation
about summary refs log tree commit diff
path: root/src/upd8.js
diff options
context:
space:
mode:
author(quasar) nebula <qznebula@protonmail.com>2022-05-10 20:24:46 -0300
committer(quasar) nebula <qznebula@protonmail.com>2022-05-10 20:24:46 -0300
commit847b1262bf608cadd59c8d19a564badbd525a6a7 (patch)
treef4e0a659746db218e13968a3cfc5e6630dd31812 /src/upd8.js
parentc6aff602f65dfa4e5a1bc1a8c6841cdda829a0ce (diff)
rename other count utils
Diffstat (limited to 'src/upd8.js')
-rwxr-xr-xsrc/upd8.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/upd8.js b/src/upd8.js
index d0df62f..0133035 100755
--- a/src/upd8.js
+++ b/src/upd8.js
@@ -246,7 +246,7 @@ const replacerSpec = {
     'date': {
         find: null,
         value: ref => new Date(ref),
-        html: (date, {strings}) => `<time datetime="${date.toString()}">${strings.count.date(date)}</time>`
+        html: (date, {strings}) => `<time datetime="${date.toString()}">${language.formatDate(date)}</time>`
     },
     'flash': {
         find: 'flash',