aboutsummaryrefslogtreecommitdiffstats
path: root/calendar
diff options
context:
space:
mode:
Diffstat (limited to 'calendar')
-rw-r--r--calendar/ChangeLog6
-rw-r--r--calendar/gui/e-week-view.c2
2 files changed, 6 insertions, 2 deletions
diff --git a/calendar/ChangeLog b/calendar/ChangeLog
index 1ef3e03484..546e83e404 100644
--- a/calendar/ChangeLog
+++ b/calendar/ChangeLog
@@ -1,5 +1,11 @@
2001-11-09 Damon Chaplin <damon@ximian.com>
+ * 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.
+
+2001-11-09 Damon Chaplin <damon@ximian.com>
+
* gui/e-week-view-layout.c (e_week_view_layout_events): fix buffer
overflow. Fixes bug #10285 (the printing of lines & dates in the
printout of the month view).
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);