if (ps != NULL) {
dtstart = icalproperty_get_dtstart(ps);
Cal->event_start = icaltime_as_timet(dtstart);
- lprintf(9, "\e[31mINITIAL: %s\e[0m", ctime(&Cal->event_start));
+ lprintf(9, "\e[31mINITIAL: %s, is_utc=%d, tzid=%s\e[0m\n",
+ icaltime_as_ical_string(dtstart),
+ icaltime_is_utc(dtstart),
+ icaltime_get_tzid(dtstart)
+ );
}
/* Do the same for the ending date and time. It makes the day view much easier to render. */
ical_dezonify(Cal->cal); /* dezonify every recurrence - we may
* have hit the start/end of DST */
Cal->event_start = icaltime_as_timet(next);
- lprintf(9, "\e[32mREPEATS: %s\e[0m", ctime(&Cal->event_start));
+ lprintf(9, "\e[32mREPEATS: %s, is_utc=%d, tzid=%s\e[0m\n",
+ icaltime_as_ical_string(next),
+ icaltime_is_utc(next),
+ icaltime_get_tzid(next)
+ );
final_recurrence = Cal->event_start;
}