From: defacer Date: Sat, 8 May 2004 13:35:11 +0000 (+0000) Subject: Fix for bug 1334: X-Git-Url: http://git.mjollnir.org/gw?a=commitdiff_plain;h=33683b3655e91c5d1d2521242958277a594545db;p=moodle.git Fix for bug 1334: Yesterday I was in such a hurry to leave that I forgot to check it in... Sorry Martin! :-) --- diff --git a/calendar/lib.php b/calendar/lib.php index 49cbc14a32..55fa817cd2 100644 --- a/calendar/lib.php +++ b/calendar/lib.php @@ -487,7 +487,7 @@ function calendar_top_controls($type, $data) { $data['d'] = 1; } $time = calendar_gmmktime_check($data['m'], $data['d'], $data['y']); - $date = getdate(usertime($time)); + $date = getdate($time); $data['m'] = $date['mon']; $data['y'] = $date['year'];