diff options
| 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 |
| commit | f1c8bbf0f95a7f9ef52e041628e79a875b55aae4 (patch) | |
| tree | e3a8d8ee6479fcaa3282ecc276738f230ecb84d1 /src/common-util | |
| parent | 01bd5cec3a83e9ced7715954e76dd820aa7e91dd (diff) | |
content, css: generateContentEntryDate: relative date
Diffstat (limited to 'src/common-util')
| -rw-r--r-- | src/common-util/wiki-data.js | 6 |
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; } |