[gnome-calendar] event: both start & end dates must be midnight to be all day



commit a56e6c00c33b790f433dd4436c6aec3311921490
Author: Georges Basile Stavracas Neto <georges stavracas gmail com>
Date:   Mon Feb 29 16:14:22 2016 -0300

    event: both start & end dates must be midnight to be all day
    
    https://bugzilla.gnome.org/show_bug.cgi?id=762570

 src/gcal-event.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/gcal-event.c b/src/gcal-event.c
index e26cc8f..4260394 100644
--- a/src/gcal-event.c
+++ b/src/gcal-event.c
@@ -223,7 +223,7 @@ gcal_event_set_component_internal (GcalEvent     *self,
                                   date.is_date ? 0 : date.hour,
                                   date.is_date ? 0 : date.minute,
                                   date.is_date ? 0 : date.second);
-      end_is_all_day = datetime_is_date (date_start);
+      end_is_all_day = datetime_is_date (date_end);
 
       self->dt_end = g_date_time_ref (date_end);
 


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]