diff --git a/TracRendezVous/tracrendezvous/event/model.py b/TracRendezVous/tracrendezvous/event/model.py index 416c6cd..6b26fb7 100644 --- a/TracRendezVous/tracrendezvous/event/model.py +++ b/TracRendezVous/tracrendezvous/event/model.py @@ -799,8 +799,8 @@ END:VALARM""" % (event.name, event.name)] return res for row in rows: e_id, name, author, time_created, time_modified, time_begin, time_end, location_id, initial_e_id, tags, attendees, is_periodic, wikipage = row - time_begin = datetime.utcfromtimestamp(time_begin) - time_end = datetime.utcfromtimestamp(time_end) + time_begin = utc.localize(datetime.utcfromtimestamp(time_begin)) + time_end = utc.localize(datetime.utcfromtimestamp(time_end)) delta = time_end - time_begin rrules = EventRRule.fetch_by_event_rrules(env, e_id, time_begin) if not rrules: