* Attach an icaltimezone pointer to any icaltimetype value
authorArt Cancro <ajc@citadel.org>
Tue, 2 Dec 2008 21:38:52 +0000 (21:38 +0000)
committerArt Cancro <ajc@citadel.org>
Tue, 2 Dec 2008 21:38:52 +0000 (21:38 +0000)
  converted by icaltime_from_webform().  This will later
  be detected so we can attach time zone data.

webcit/calendar_tools.c

index c8ed2c269a6a31e110a0f9b56586d808b3a7e9bd..3dae5300121a60f078fe74c9ae8a55e6f30bf973 100644 (file)
@@ -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));
 }