Removed time zone handling from webcit too.
authorArt Cancro <ajc@citadel.org>
Wed, 12 Nov 2008 16:59:28 +0000 (16:59 +0000)
committerArt Cancro <ajc@citadel.org>
Wed, 12 Nov 2008 16:59:28 +0000 (16:59 +0000)
Someone please kill me.

webcit/calendar.c
webcit/event.c

index 8f465c629a75175728a3506c5b8affba77f7a370..d36745a7b79382923b53e46576e4c6acc218a0cc 100644 (file)
@@ -283,7 +283,6 @@ void cal_process_attachment(wc_mime_attachment *Mime)
                return;
        }
 
-       ical_dezonify(cal);
        cal_process_object(Mime->Data, cal, 0, Mime->msgnum, ChrPtr(Mime->PartNum));
 
        /* Free the memory we obtained from libical's constructor */
@@ -446,7 +445,6 @@ void display_individual_cal(icalcomponent *cal, long msgnum, char *from, int unr
        len = strlen(from);
        Cal->from = (char*)malloc(len+ 1);
        memcpy(Cal->from, from, len + 1);
-       ical_dezonify(Cal->cal);
        Cal->cal_msgnum = msgnum;
 
        /* Precalculate the starting date and time of this event, and store it in our top-level
@@ -508,7 +506,6 @@ void display_individual_cal(icalcomponent *cal, long msgnum, char *from, int unr
                        len = strlen(from);
                        Cal->from = (char*)malloc(len+ 1);
                        memcpy(Cal->from, from, len + 1);
-                       ical_dezonify(Cal->cal);
                        Cal->cal_msgnum = msgnum;
        
                        ps = icalcomponent_get_first_property(Cal->cal, ICAL_DTSTART_PROPERTY);
@@ -973,8 +970,6 @@ void load_ical_object(long msgnum, int unread,
                        cal = icalcomponent_new_from_string(relevant_source);
                        if (cal != NULL) {
 
-                               ical_dezonify(cal);
-
                                /* Simple components of desired type */
                                if (icalcomponent_isa(cal) == which_kind) {
                                        callback(cal, msgnum, from, unread, calv);
index 138bc0ff38ffcde2ed92dceed026a4f497f6d2d2..fb72422d0408ee9e0951a13e4051285d7c6833fa 100644 (file)
@@ -438,15 +438,6 @@ void display_edit_individual_event(icalcomponent *supplied_vevent, long msgnum,
 
        wprintf("<table border=0 cellspacing=\"10\" width=100%%>\n");
 
-       /* Table row displaying raw RRULE data, FIXME remove when finished */
-       if (rrule) {
-               wprintf("<tr><td><b>");
-               wprintf("Raw data");
-               wprintf("</b></td><td>");
-               wprintf("<tt>%s</tt>", icalrecurrencetype_as_string(&recur));
-               wprintf("</td></tr>\n");
-       }
-
        char *frequency_units[] = {
                _("seconds"),
                _("minutes"),