diff --git a/calendar/view.php b/calendar/view.php index 5121a98aa7f..9e867a79f37 100644 --- a/calendar/view.php +++ b/calendar/view.php @@ -68,10 +68,10 @@ if (!empty($day) && !empty($mon) && !empty($year)) { if (checkdate($mon, $day, $year)) { $time = make_timestamp($year, $mon, $day); } else { - $time = time(); + $time = mktime(0, 0, 0); } } else if (empty($time)) { - $time = time(); + $time = mktime(0, 0, 0); } $url->param('time', $time);