aboutsummaryrefslogtreecommitdiffstats
path: root/calendar/gui/calendar.c
diff options
context:
space:
mode:
Diffstat (limited to 'calendar/gui/calendar.c')
-rw-r--r--calendar/gui/calendar.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/calendar/gui/calendar.c b/calendar/gui/calendar.c
index a76d95758f..bacd7c9291 100644
--- a/calendar/gui/calendar.c
+++ b/calendar/gui/calendar.c
@@ -287,8 +287,8 @@ calendar_load (Calendar *cal, char *fname)
return "Could not load the calendar";
calendar_today = time (NULL);
- calendar_day_begin = time_start_of_day (calendar_today);
- calendar_day_end = time_end_of_day (calendar_today);
+ calendar_day_begin = time_day_begin (calendar_today);
+ calendar_day_end = time_day_end (calendar_today);
calendar_load_from_vobject (cal, vcal);
cleanVObject (vcal);