month-view: fix date adjust mishap

https://bugzilla.gnome.org/show_bug.cgi?id=763015
This commit is contained in:
fosero
2016-03-14 16:54:53 -03:00
committed by Georges Basile Stavracas Neto
parent f20e6b041c
commit c67d52092c
+1 -5
View File
@@ -515,11 +515,7 @@ rebuild_popover_for_day (GcalMonthView *view,
day,
0, 0, 0);
dt_end = g_date_time_new (tz,
g_date_time_get_year (current_date),
g_date_time_get_month (current_date),
day + 1,
0, 0, 0);
dt_end = g_date_time_add_days (dt_start, 1);
for (; l != NULL; l = g_list_next (l))
{