« get me outta code hell

hsmusic-wiki - HSMusic - static wiki software cataloguing collaborative creation
about summary refs log tree commit diff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/content/dependencies/generateArtistInfoPageChunk.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/content/dependencies/generateArtistInfoPageChunk.js b/src/content/dependencies/generateArtistInfoPageChunk.js
index eb9056cb..2b4523d1 100644
--- a/src/content/dependencies/generateArtistInfoPageChunk.js
+++ b/src/content/dependencies/generateArtistInfoPageChunk.js
@@ -62,7 +62,7 @@ export default {
             options.dateRange = language.formatDateRange(slots.dateRangeStart, slots.dateRangeEnd);
           } else if (slots.dateRangeStart || slots.date) {
             parts.push('withDate');
-            options.date = language.formatDate(slots.dateFirst);
+            options.date = language.formatDate(slots.dateRangeStart ?? slots.date);
           }
 
           accentedLink = language.formatString(parts.join('.'), options);