timezone regression
This commit is contained in:
parent
1d7fb7ceee
commit
609a0db123
|
@ -799,8 +799,8 @@ END:VALARM""" % (event.name, event.name)]
|
||||||
return res
|
return res
|
||||||
for row in rows:
|
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
|
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_begin = utc.localize(datetime.utcfromtimestamp(time_begin))
|
||||||
time_end = datetime.utcfromtimestamp(time_end)
|
time_end = utc.localize(datetime.utcfromtimestamp(time_end))
|
||||||
delta = time_end - time_begin
|
delta = time_end - time_begin
|
||||||
rrules = EventRRule.fetch_by_event_rrules(env, e_id, time_begin)
|
rrules = EventRRule.fetch_by_event_rrules(env, e_id, time_begin)
|
||||||
if not rrules:
|
if not rrules:
|
||||||
|
|
Loading…
Reference in New Issue