Skip to content
Snippets Groups Projects
Commit 63237473 authored by Arch de Noé's avatar Arch de Noé
Browse files

Shifted for daylight savings

parent e05162df
Branches master
No related merge requests found
......@@ -73,8 +73,8 @@ def import_schedule(url: str, reset: bool = True):
(
re.match('([A-Z]\d+)', e.location).group(1),
e.begin.format("YYYY-MM-DD"),
e.begin.shift(hours=+1).format("HH:mm"),
e.end.shift(hours=+1).format("HH:mm")
e.begin.shift(hours=+2).format("HH:mm"),
e.end.shift(hours=+2).format("HH:mm")
)
for e in cal.events
if re.match('([A-Z]\d+)', e.location)
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment