Skip to content

Commit 765d473

Browse files
committed
Revert "BUG: again, default tz to UTC"
This reverts commit 95b8a7d.
1 parent fa9a56c commit 765d473

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

yaml2ics.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -186,8 +186,6 @@ def files_to_events(files: list) -> (ics.Calendar, str):
186186
tz = calendar_yaml.get("timezone", None)
187187
if tz is not None:
188188
tz = gettz(tz)
189-
else:
190-
tz = dateutil.tz.UTC
191189
if "include" in calendar_yaml:
192190
included_events, _name = files_to_events(
193191
os.path.join(os.path.dirname(f), newfile)

0 commit comments

Comments
 (0)