December events #22

Merged
hugo merged 2 commits from hugo/website2:master into master 2023-11-12 09:33:00 +00:00
Showing only changes of commit 828be8cd8f - Show all commits

View File

@ -50,6 +50,7 @@ events = sorted(load_events("dogadjaji.csv"), key=lambda e: e["date"])
today = datetime.today().date()
past_events = list(filter(lambda e: e["date"] <= today, events))
past_events.reverse()
new_events = list(filter(lambda e: e["date"] >= today, events))