« 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/page/homepage.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/page/homepage.js
parentc6aff602f65dfa4e5a1bc1a8c6841cdda829a0ce (diff)
rename other count utils
Diffstat (limited to 'src/page/homepage.js')
-rw-r--r--src/page/homepage.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/page/homepage.js b/src/page/homepage.js
index ed7d344..01844fb 100644
--- a/src/page/homepage.js
+++ b/src/page/homepage.js
@@ -88,7 +88,7 @@ export function writeTargetless({wikiData}) {
                         ${newsData.slice(0, 3).map((entry, i) => html.tag('article',
                             {class: ['news-entry', i === 0 && 'first-news-entry']},
                             fixWS`
-                                <h2><time>${strings.count.date(entry.date)}</time> ${link.newsEntry(entry)}</h2>
+                                <h2><time>${language.formatDate(entry.date)}</time> ${link.newsEntry(entry)}</h2>
                                 ${transformMultiline(entry.contentShort)}
                                 ${entry.contentShort !== entry.content && link.newsEntry(entry, {
                                     text: language.$('homepage.news.entry.viewRest')