From 6a022cd38c443c1283ce04976754533a578672df Mon Sep 17 00:00:00 2001 From: Damon Chaplin Date: Fri, 9 Nov 2001 22:41:43 +0000 Subject: don't subtract a day from DTEND. For DATE values we don't include the 2001-11-09 Damon Chaplin * gui/e-week-view.c (e_week_view_key_press): don't subtract a day from DTEND. For DATE values we don't include the entire day now. Fixes bug #14842. svn path=/trunk/; revision=14651 --- calendar/gui/e-week-view.c | 2 -- 1 file changed, 2 deletions(-) (limited to 'calendar/gui') diff --git a/calendar/gui/e-week-view.c b/calendar/gui/e-week-view.c index 4ab60ffc78..e6e455863c 100644 --- a/calendar/gui/e-week-view.c +++ b/calendar/gui/e-week-view.c @@ -3317,10 +3317,8 @@ e_week_view_key_press (GtkWidget *widget, GdkEventKey *event) week_view->zone); cal_component_set_dtstart (comp, &date); - /* We have to take a day off the end time as it is a DATE value. */ *date.value = icaltime_from_timet_with_zone (dtend, TRUE, week_view->zone); - icaltime_adjust (date.value, -1, 0, 0, 0); cal_component_set_dtend (comp, &date); cal_component_set_categories (comp, week_view->default_category); -- cgit v1.2.3