diff --git a/get_json.py b/get_json.py index 2ad54ec..07ad41a 100644 --- a/get_json.py +++ b/get_json.py @@ -62,7 +62,9 @@ def create_event_list(json): try: for reocurring_event in raw_event["upcoming_dates"]: event_start_time = parse_time(reocurring_event["starts_at"][0:reocurring_event["starts_at"].find("+")]+"Z") + event_start_time = offset_time(event_start_time, -1) event_end_time = parse_time(reocurring_event["ends_at"][0:reocurring_event["ends_at"].find("+")]+"Z") + event_end_time = offset_time(event_end_time, -1) if event_end_time == None or event_start_time == event_end_time: event_end_time = offset_time(event_start_time, 1.5)