]> code.citadel.org Git - citadel.git/blobdiff - webcit/calendar_view.c
* Summary view - don't display a time for all day events
[citadel.git] / webcit / calendar_view.c
index 0af1842ec1d2ec48c207c3cf76322130f4d67ec9..323016ff39ab5ddb9dc6cebb08faa6719b17e270 100644 (file)
@@ -1324,7 +1324,10 @@ void calendar_summary_view(void) {
                                                wprintf("\">");
                                        }
                                        escputs((char *) icalproperty_get_comment(p));
-                                       wprintf(" (%s)</a><br />\n", timestring);
+                                       if (!all_day_event) {
+                                               wprintf(" (%s)", timestring);
+                                       }
+                                       wprintf("</a><br />\n");
                                }
                        }
                }