search-view: fix time label
We want to show "All day" when the event is all day, not when it ~isn't~ all day. https://bugzilla.gnome.org/show_bug.cgi?id=771677
This commit is contained in:
@@ -342,7 +342,7 @@ make_row_for_event (GcalSearchView *view,
|
||||
g_free (text);
|
||||
|
||||
/* show 'all day' instead of 00:00 */
|
||||
if (gcal_event_get_all_day (event))
|
||||
if (!gcal_event_get_all_day (event))
|
||||
{
|
||||
text = g_date_time_format (local_datetime, view->format_24h ? "%R" : "%r");
|
||||
time_label = gtk_label_new (text);
|
||||
|
||||
Reference in New Issue
Block a user