« get me outta code hell

content: generateRelativeDatetimestamp: don't double full date in tooltip - hsmusic-wiki - HSMusic - static wiki software cataloguing collaborative creation
about summary refs log tree commit diff
path: root/src/content/dependencies
diff options
context:
space:
mode:
author(quasar) nebula <qznebula@protonmail.com>2023-11-29 22:11:02 -0400
committer(quasar) nebula <qznebula@protonmail.com>2023-11-29 22:11:02 -0400
commit67b5ad5f64b5a75a727decd732119343b34c7cdc (patch)
tree35043a0ac7a6fb9b7092d5ccd1c1b7be13c43ddf /src/content/dependencies
parent7d2f0dab8a21a4282f1ee5bcbe418765782eb9b6 (diff)
content: generateRelativeDatetimestamp: don't double full date in tooltip
Diffstat (limited to 'src/content/dependencies')
-rw-r--r--src/content/dependencies/generateRelativeDatetimestamp.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/content/dependencies/generateRelativeDatetimestamp.js b/src/content/dependencies/generateRelativeDatetimestamp.js
index f0417594..bbe33188 100644
--- a/src/content/dependencies/generateRelativeDatetimestamp.js
+++ b/src/content/dependencies/generateRelativeDatetimestamp.js
@@ -48,7 +48,7 @@ export default {
           language.formatRelativeDate(data.currentDate, data.referenceDate, {
             considerRoundingDays: true,
             approximate: true,
-            absolute: true,
+            absolute: slots.style === 'year',
           }),
 
       datetime: