« get me outta code hell

content, css: generateContentEntryDate: relative date - hsmusic-wiki - HSMusic - static wiki software cataloguing collaborative creation
about summary refs log tree commit diff
path: root/src/common-util
diff options
context:
space:
mode:
author(quasar) nebula <qznebula@protonmail.com>2026-03-26 17:36:39 -0300
committer(quasar) nebula <qznebula@protonmail.com>2026-03-26 17:36:39 -0300
commitf1c8bbf0f95a7f9ef52e041628e79a875b55aae4 (patch)
treee3a8d8ee6479fcaa3282ecc276738f230ecb84d1 /src/common-util
parent01bd5cec3a83e9ced7715954e76dd820aa7e91dd (diff)
content, css: generateContentEntryDate: relative date
Diffstat (limited to 'src/common-util')
-rw-r--r--src/common-util/wiki-data.js6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/common-util/wiki-data.js b/src/common-util/wiki-data.js
index ae186065..00465668 100644
--- a/src/common-util/wiki-data.js
+++ b/src/common-util/wiki-data.js
@@ -641,5 +641,11 @@ export function sameDayAs(givenDate, thing) {
     }
   }
 
+  if (thing.isFlash) {
+    if (comapre(givenDate, thing.date)) {
+      return 'flash';
+    }
+  }
+
   return null;
 }