From: Art Cancro Date: Mon, 24 Nov 2008 22:39:18 +0000 (+0000) Subject: KILL TIME ZONE AAAAAAGGGHH X-Git-Tag: v7.86~1776 X-Git-Url: https://code.citadel.org/?a=commitdiff_plain;h=758fac28a2d3d207014ab256f35c9e831a0a61e0;p=citadel.git KILL TIME ZONE AAAAAAGGGHH --- diff --git a/webcit/calendar.c b/webcit/calendar.c index eb01d02fc..78994178a 100644 --- a/webcit/calendar.c +++ b/webcit/calendar.c @@ -456,7 +456,11 @@ void display_individual_cal(icalcomponent *cal, long msgnum, char *from, int unr if (ps != NULL) { dtstart = icalproperty_get_dtstart(ps); Cal->event_start = icaltime_as_timet(dtstart); - lprintf(9, "INITIAL: %s", ctime(&Cal->event_start)); + lprintf(9, "INITIAL: %s, is_utc=%d, tzid=%s\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. */ @@ -517,7 +521,11 @@ void display_individual_cal(icalcomponent *cal, long msgnum, char *from, int unr 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, "REPEATS: %s", ctime(&Cal->event_start)); + lprintf(9, "REPEATS: %s, is_utc=%d, tzid=%s\n", + icaltime_as_ical_string(next), + icaltime_is_utc(next), + icaltime_get_tzid(next) + ); final_recurrence = Cal->event_start; }