From 758fac28a2d3d207014ab256f35c9e831a0a61e0 Mon Sep 17 00:00:00 2001 From: Art Cancro Date: Mon, 24 Nov 2008 22:39:18 +0000 Subject: [PATCH] KILL TIME ZONE AAAAAAGGGHH --- webcit/calendar.c | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) 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; } -- 2.39.2