timezone fix
This commit is contained in:
parent
119c93eda9
commit
6ee89b9c86
1 changed files with 1 additions and 1 deletions
|
@ -32,7 +32,7 @@ class Termin(object):
|
|||
datum = self.value["DTSTART"]
|
||||
# wenn keine Zeitzone angeben ist, nehme UTC an
|
||||
if not datum.tzinfo:
|
||||
src_zone = pytz.timezone("UTC")
|
||||
src_zone = pytz.timezone("Europe/Berlin")
|
||||
datum = src_zone.localize(datum)
|
||||
# und jetzt umwandeln
|
||||
dst_zone = pytz.timezone("Europe/Berlin")
|
||||
|
|
Reference in a new issue