Compare commits

..

3 Commits

Author SHA1 Message Date
a39f257b94 Merge pull request 'December events' (#22) from hugo/website2:master into master
Reviewed-on: #22
2023-11-12 09:32:59 +00:00
828be8cd8f Reverse archive page 2023-11-12 10:29:32 +01:00
1d20360c46 December events 2023-11-12 10:26:17 +01:00
2 changed files with 6 additions and 1 deletions

View File

@ -85,5 +85,9 @@ datum, vreme, lokacija, tema
14-11-2023, 19:00, DC Krov https://www.openstreetmap.org/node/10594728522, Uvod u elektroniku EP01 14-11-2023, 19:00, DC Krov https://www.openstreetmap.org/node/10594728522, Uvod u elektroniku EP01
20-11-2023, 19:00, DC Krov https://www.openstreetmap.org/node/10594728522, Git 20-11-2023, 19:00, DC Krov https://www.openstreetmap.org/node/10594728522, Git
21-11-2023, 19:00, DC Krov https://www.openstreetmap.org/node/10594728522, Uvod u elektroniku EP02 21-11-2023, 19:00, DC Krov https://www.openstreetmap.org/node/10594728522, Uvod u elektroniku EP02
27-11-2023, 19:00, DC Krov https://www.openstreetmap.org/node/10594728522, Kviz vece 27-11-2023, 19:00, DC Krov https://www.openstreetmap.org/node/10594728522, Kviz veče
28-11-2023, 19:00, DC Krov https://www.openstreetmap.org/node/10594728522, Uvod u elektroniku EP03 28-11-2023, 19:00, DC Krov https://www.openstreetmap.org/node/10594728522, Uvod u elektroniku EP03
04-12-2023, 19:00, DC Krov https://www.openstreetmap.org/node/10594728522, Lighting talks
05-12-2023, 19:00, DC Krov https://www.openstreetmap.org/node/10594728522, Idejno-politička diskusija
12-12-2023, 19:00, DC Krov https://www.openstreetmap.org/node/10594728522, Uvod u elektroniku E04
18-12-2023, 19:00, DC Krov https://www.openstreetmap.org/node/10594728522, Arduino
1 datum vreme lokacija tema
85 14-11-2023 19:00 DC Krov https://www.openstreetmap.org/node/10594728522 Uvod u elektroniku EP01
86 20-11-2023 19:00 DC Krov https://www.openstreetmap.org/node/10594728522 Git
87 21-11-2023 19:00 DC Krov https://www.openstreetmap.org/node/10594728522 Uvod u elektroniku EP02
88 27-11-2023 19:00 DC Krov https://www.openstreetmap.org/node/10594728522 Kviz vece Kviz veče
89 28-11-2023 19:00 DC Krov https://www.openstreetmap.org/node/10594728522 Uvod u elektroniku EP03
90 04-12-2023 19:00 DC Krov https://www.openstreetmap.org/node/10594728522 Lighting talks
91 05-12-2023 19:00 DC Krov https://www.openstreetmap.org/node/10594728522 Idejno-politička diskusija
92 12-12-2023 19:00 DC Krov https://www.openstreetmap.org/node/10594728522 Uvod u elektroniku E04
93 18-12-2023 19:00 DC Krov https://www.openstreetmap.org/node/10594728522 Arduino

View File

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