Compare commits

..

4 Commits

Author SHA1 Message Date
828be8cd8f Reverse archive page 2023-11-12 10:29:32 +01:00
1d20360c46 December events 2023-11-12 10:26:17 +01:00
03fb78892c
add quiz night in dogadjaji.csv 2023-10-20 16:30:38 +02:00
658f47a1ae November 2023-10-18 22:12:29 +02:00
2 changed files with 13 additions and 0 deletions

View File

@ -79,3 +79,15 @@ datum, vreme, lokacija, tema
24-10-2023, 19:00, DC Krov https://www.openstreetmap.org/node/10594728522, Proslava rođendana Decentrale 24-10-2023, 19:00, DC Krov https://www.openstreetmap.org/node/10594728522, Proslava rođendana Decentrale
30-10-2023, 19:00, DC Krov https://www.openstreetmap.org/node/10594728522, Rešavanje Rubikove kocke 30-10-2023, 19:00, DC Krov https://www.openstreetmap.org/node/10594728522, Rešavanje Rubikove kocke
31-10-2023, 19:00, DC Krov https://www.openstreetmap.org/node/10594728522, Vim 31-10-2023, 19:00, DC Krov https://www.openstreetmap.org/node/10594728522, Vim
06-11-2023, 19:00, DC Krov https://www.openstreetmap.org/node/10594728522, Lightning talks
07-11-2023, 19:00, DC Krov https://www.openstreetmap.org/node/10594728522, Cybersecurity card game
13-11-2023, 19:00, DC Krov https://www.openstreetmap.org/node/10594728522, Hackathon
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
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 veče
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
79 24-10-2023 19:00 DC Krov https://www.openstreetmap.org/node/10594728522 Proslava rođendana Decentrale
80 30-10-2023 19:00 DC Krov https://www.openstreetmap.org/node/10594728522 Rešavanje Rubikove kocke
81 31-10-2023 19:00 DC Krov https://www.openstreetmap.org/node/10594728522 Vim
82 06-11-2023 19:00 DC Krov https://www.openstreetmap.org/node/10594728522 Lightning talks
83 07-11-2023 19:00 DC Krov https://www.openstreetmap.org/node/10594728522 Cybersecurity card game
84 13-11-2023 19:00 DC Krov https://www.openstreetmap.org/node/10594728522 Hackathon
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 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))