diff options
author | (quasar) nebula <qznebula@protonmail.com> | 2023-08-09 11:44:46 -0300 |
---|---|---|
committer | (quasar) nebula <qznebula@protonmail.com> | 2023-08-09 11:44:46 -0300 |
commit | aa0023dadf8b40ccbf3dedfbcbafba25f23b995a (patch) | |
tree | 86d344f658f681d9e2073b66f9dd09ad1da617ac /src | |
parent | 360342696a7e29dbeb0d8b54228ba2c0ac3c162b (diff) |
content: generateArtistInfoPageChunk: handle non-range flash dates properly
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); |