From f7656746120632e62c005127a8fdb187f4cd9487 Mon Sep 17 00:00:00 2001 From: defacer Date: Tue, 11 May 2004 10:36:35 +0000 Subject: [PATCH] Fix for bug 1365 (supplementary): Here's the other half of the fix. --- calendar/lib.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/calendar/lib.php b/calendar/lib.php index 662eeffedc..9faf61f1ce 100644 --- a/calendar/lib.php +++ b/calendar/lib.php @@ -528,8 +528,8 @@ function calendar_top_controls($type, $data) { case 'month': list($prevmonth, $prevyear) = calendar_sub_month($data['m'], $data['y']); list($nextmonth, $nextyear) = calendar_add_month($data['m'], $data['y']); - $prevdate = calendar_gmmktime_check($prevmonth, 1, $prevyear); - $nextdate = calendar_gmmktime_check($nextmonth, 1, $nextyear); + $prevdate = calendar_mktime_check($prevmonth, 1, $prevyear); + $nextdate = calendar_mktime_check($nextmonth, 1, $nextyear); $content .= "\n"; $content .= '\n"; $content .= '\n"; -- 2.39.5
<< '.strftime(get_string('strftimemonthyear'), $prevdate)."'.strftime(get_string('strftimemonthyear'), $time)."