quick-add-popover: always set seconds to 0

https://bugzilla.gnome.org/show_bug.cgi?id=772104
This commit is contained in:
Georges Basile Stavracas Neto
2016-10-01 20:35:48 -03:00
parent e8dbe48baa
commit 159da57e46
+2 -2
View File
@@ -443,7 +443,7 @@ edit_or_create_event (GcalQuickAddPopover *self,
g_date_time_get_day_of_month (self->date_start),
all_day ? 0 : g_date_time_get_hour (now),
all_day ? 0 : g_date_time_get_minute (now),
all_day ? 0 : g_date_time_get_second (now));
0);
/* Gather date end */
if (self->date_end)
@@ -454,7 +454,7 @@ edit_or_create_event (GcalQuickAddPopover *self,
g_date_time_get_day_of_month (self->date_end) + (single_day && all_day ? 1 : 0),
all_day ? 0 : g_date_time_get_hour (now) + (is_today ? 1 : 0),
all_day ? 0 : g_date_time_get_minute (now),
all_day ? 0 : g_date_time_get_second (now));
0);
}
else
{