Details
-
Type:
Bug
-
Status:
Open
-
Priority:
Minor
-
Resolution: Unresolved
-
Affects Version/s: 1.9, 2.1, 2.2
-
Fix Version/s: None
-
Component/s: Calendar
-
Labels:None
-
Environment:Debian 'etch', PHP 5.2, MySQL 5
-
Database:MySQL
-
Affected Branches:MOODLE_19_STABLE, MOODLE_21_STABLE, MOODLE_22_STABLE
-
Pull 1.9 Branch:
-
Pull 2.0 Branch:
-
Pull 2.1 Branch:
-
Pull Master Branch:
-
Pull Master Diff URL:
Description
Since today's 1.9+ cvs update on our server, as shown on the attached pictures, event date doesn't display time anymore in calendar and upcoming event block. That's a big problem for users.
I changed line 1515 of file calendar/lib.php (function "calendar_format_event_time") to the two following lines :
$time = calendar_time_representation($event->timestart);
$eventtime = calendar_get_link_tag($day, CALENDAR_URL.'view.php?view=day'.$morehref.'&', $startdate['mday'], $startdate['mon'], $startdate['year']).', '.trim($time);
Now it works as I expected.