diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/content/dependencies/generateArtistInfoPageChunk.js | 2 |
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); |