Skip to content
Browse files

MDL-14837 Calendar: Display start time on calendar events with no dur…

…ation
  • Loading branch information...
1 parent 62b0af5 commit 96094327a10f46ae016df341807e1b22593cebeb Glenn Ansley committed Feb 24, 2012
Showing with 2 additions and 2 deletions.
  1. +2 −2 calendar/lib.php
View
4 calendar/lib.php
@@ -1447,13 +1447,13 @@ function calendar_format_event_time($event, $now, $linkparams = null, $usecommon
}
}
} else {
- $time = ' ';
+ $time = calendar_time_representation($event->timestart);
// Set printable representation
if (!$showtime) {
$day = calendar_day_representation($event->timestart, $now, $usecommonwords);
$url = calendar_get_link_href(new moodle_url(CALENDAR_URL.'view.php', $linkparams), $startdate['mday'], $startdate['mon'], $startdate['year']);
- $eventtime = html_writer::link($url, $day).trim($time);
+ $eventtime = html_writer::link($url, $day).', '.trim($time);
} else {
$eventtime = $time;
}

0 comments on commit 9609432

Please sign in to comment.
Something went wrong with that request. Please try again.