« 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/track.js
diff options
context:
space:
mode:
Diffstat (limited to 'src/page/track.js')
-rw-r--r--src/page/track.js6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/page/track.js b/src/page/track.js
index 92a49ff0..295f4257 100644
--- a/src/page/track.js
+++ b/src/page/track.js
@@ -181,15 +181,15 @@ export function write(track, {wikiData}) {
                                     })
                                 }),
                                 track.date && language.$('releaseInfo.released', {
-                                    date: strings.count.date(track.date)
+                                    date: language.formatDate(track.date)
                                 }),
                                 (track.coverArtDate &&
                                     +track.coverArtDate !== +track.date &&
                                     language.$('releaseInfo.artReleased', {
-                                        date: strings.count.date(track.coverArtDate)
+                                        date: language.formatDate(track.coverArtDate)
                                     })),
                                 track.duration && language.$('releaseInfo.duration', {
-                                    duration: strings.count.duration(track.duration)
+                                    duration: language.formatDuration(track.duration)
                                 })
                             ].filter(Boolean).join('<br>\n')}
                         </p>