From: defacer Date: Mon, 10 May 2004 08:35:03 +0000 (+0000) Subject: Fix for bug 1354: X-Git-Url: http://git.mjollnir.org/gw?a=commitdiff_plain;h=f319962d8a00772167c84db68d614fdaa871eae3;p=moodle.git Fix for bug 1354: Eloy discovered that there was too much compensation for the user's timezone in the monthly view event popups. Removed it and now it's OK. --- diff --git a/calendar/lib.php b/calendar/lib.php index 55fa817cd2..b77088882d 100644 --- a/calendar/lib.php +++ b/calendar/lib.php @@ -169,7 +169,7 @@ function calendar_get_mini($courses, $groups, $users, $cal_month = false, $cal_y $popupcontent .= '
id.'\\\'>'.addslashes(htmlspecialchars($events[$eventid]->name)).'
'; } - $popupcaption = get_string('eventsfor', 'calendar', strftime(get_string('strftimedayshort'), usertime($events[$eventid]->timestart))); + $popupcaption = get_string('eventsfor', 'calendar', strftime(get_string('strftimedayshort'), $events[$eventid]->timestart)); $popup = 'onmouseover="return overlib(\''.$popupcontent.'\', CAPTION, \''.$popupcaption.'\');" onmouseout="return nd();"'; // Class and cell content