* Summary view - don't display a time for all day events
authorArt Cancro <ajc@citadel.org>
Wed, 21 Jan 2009 03:20:37 +0000 (03:20 +0000)
committerArt Cancro <ajc@citadel.org>
Wed, 21 Jan 2009 03:20:37 +0000 (03:20 +0000)
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");
                                }
                        }
                }