From c628e533553edf3ba583d147558d89ac2658cc7a Mon Sep 17 00:00:00 2001 From: Art Cancro Date: Tue, 2 Dec 2008 21:38:52 +0000 Subject: [PATCH] * Attach an icaltimezone pointer to any icaltimetype value converted by icaltime_from_webform(). This will later be detected so we can attach time zone data. --- webcit/calendar_tools.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/webcit/calendar_tools.c b/webcit/calendar_tools.c index c8ed2c269..3dae53001 100644 --- a/webcit/calendar_tools.c +++ b/webcit/calendar_tools.c @@ -141,7 +141,7 @@ void icaltime_from_webform(struct icaltimetype *t, char *prefix) { /* now convert to icaltimetyepe */ t2 = icaltime_from_timet_with_zone(mktime(&tm), 0, get_default_icaltimezone()); - lprintf(9, "CONVERTEDZ0R... %s\n", icaltime_as_ical_string(t2)); + t2.zone = get_default_icaltimezone(); memcpy(t, &t2, sizeof(struct icaltimetype)); } -- 2.39.2