git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/10@364163
65c4cc65-6c06-0410-ace0-
fbb531ad65f3
/* XXX Technically you can check RELATED to see if the event fires from the END of the event
* But, I'm not sure I've ever seen anyone implement it in calendaring software, so I'm ignoring for now */
tmp = icaltime_add(start, trigger.duration);
- event->alarm = icaltime_as_timet_with_zone(tmp, utc);
+ event->alarm = icaltime_as_timet_with_zone(tmp, icaltime_get_timezone(start));
}
ao2_link(pvt->events, event);
/* XXX Technically you can check RELATED to see if the event fires from the END of the event
* But, I'm not sure I've ever seen anyone implement it in calendaring software, so I'm ignoring for now */
tmp = icaltime_add(start, trigger.duration);
- event->alarm = icaltime_as_timet_with_zone(tmp, utc);
+ event->alarm = icaltime_as_timet_with_zone(tmp, icaltime_get_timezone(start));
}
ao2_link(pvt->events, event);