]> code.citadel.org Git - citadel.git/blobdiff - webcit/calendar.c
* webcit.c: fixed a string bug that caused the whole system to not work
[citadel.git] / webcit / calendar.c
index 07221154d19e4c0bbfc3cb052d08b6fa1a03189c..ed46e30ba51ce99c56fe3437772121904af8232a 100644 (file)
@@ -169,7 +169,7 @@ void cal_process_object(icalcomponent *cal,
                        }
                        else {
                                tt = icaltime_as_timet(t);
-                               fmt_date(buf, tt);
+                               fmt_date(buf, tt, 0);
                                wprintf("<TR><TD><B>Starting date/time:"
                                        "</B></TD><TD>"
                                        "%s</TD></TR>", buf
@@ -181,7 +181,7 @@ void cal_process_object(icalcomponent *cal,
                if (p != NULL) {
                        t = icalproperty_get_dtend(p);
                        tt = icaltime_as_timet(t);
-                       fmt_date(buf, tt);
+                       fmt_date(buf, tt, 0);
                        wprintf("<TR><TD><B>Ending date/time:</B></TD><TD>"
                                "%s</TD></TR>", buf
                        );