« get me outta code hell

hsmusic-wiki - HSMusic - static wiki software cataloguing collaborative creation
about summary refs log tree commit diff
path: root/src/content/dependencies/generateRelativeDatetimestamp.js
diff options
context:
space:
mode:
Diffstat (limited to 'src/content/dependencies/generateRelativeDatetimestamp.js')
-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 bbe33188..7b7a28de 100644
--- a/src/content/dependencies/generateRelativeDatetimestamp.js
+++ b/src/content/dependencies/generateRelativeDatetimestamp.js
@@ -28,7 +28,7 @@ export default {
   },
 
   generate(data, relations, slots, {language}) {
-    if (data.comparison === 'equal') {
+    if (data.equal) {
       return relations.fallback.slots({
         style: slots.style,
         tooltip: slots.tooltip,