aboutsummaryrefslogtreecommitdiffstats
path: root/calendar/main.c
diff options
context:
space:
mode:
Diffstat (limited to 'calendar/main.c')
-rw-r--r--calendar/main.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/calendar/main.c b/calendar/main.c
index 9b468de7f8..7fad966413 100644
--- a/calendar/main.c
+++ b/calendar/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);