diff options
Diffstat (limited to 'calendar/gui/e-week-view.c')
-rw-r--r-- | calendar/gui/e-week-view.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/calendar/gui/e-week-view.c b/calendar/gui/e-week-view.c index 4c5eb5d142..ffaaddb3e5 100644 --- a/calendar/gui/e-week-view.c +++ b/calendar/gui/e-week-view.c @@ -2757,13 +2757,15 @@ e_week_view_on_new_appointment (GtkWidget *widget, gpointer data) date.tzid = NULL; dt = week_view->day_starts[week_view->selection_start_day]; - *date.value = icaltime_from_timet (dt, FALSE, FALSE); + *date.value = icaltime_from_timet (dt, TRUE, FALSE); cal_component_set_dtstart (comp, &date); dt = week_view->day_starts[week_view->selection_end_day + 1]; - *date.value = icaltime_from_timet (dt, FALSE, FALSE); + *date.value = icaltime_from_timet (dt, TRUE, FALSE); cal_component_set_dtend (comp, &date); + cal_component_commit_sequence (comp); + gnome_calendar_edit_object (week_view->calendar, comp); gtk_object_unref (GTK_OBJECT (comp)); } |