From f1c8bbf0f95a7f9ef52e041628e79a875b55aae4 Mon Sep 17 00:00:00 2001 From: "(quasar) nebula" Date: Thu, 26 Mar 2026 17:36:39 -0300 Subject: content, css: generateContentEntryDate: relative date --- src/common-util/wiki-data.js | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'src/common-util') 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; } -- cgit 1.3.0-6-gf8a5