fix date sorting
Some checks failed
website-main / prod-build (push) Failing after 14s
website-main / test-build (push) Failing after 6s

This commit is contained in:
2024-03-24 16:11:29 +01:00
parent 1287ea1d51
commit 942ef76fc9
5 changed files with 7 additions and 7 deletions

View File

@ -0,0 +1 @@
{{ return or (ge (.date | time.AsTime) now) (and .enddate (ge (.enddate | time.AsTime) now)) }}