« get me outta code hell

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:
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 ed7d3442..01844fb4 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')