aboutsummaryrefslogtreecommitdiffstats
path: root/calendar/gui/main.c
diff options
context:
space:
mode:
Diffstat (limited to 'calendar/gui/main.c')
-rw-r--r--calendar/gui/main.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/calendar/gui/main.c b/calendar/gui/main.c
index 9b468de7f8..7fad966413 100644
--- a/calendar/gui/main.c
+++ b/calendar/gui/main.c
@@ -511,7 +511,7 @@ static void
process_dates (void)
{
if (!from_t)
- from_t = time_start_of_day (time (NULL));
+ from_t = time_day_begin (time (NULL));
if (!to_t || to_t < from_t)
to_t = time_add_day (from_t, 1);