Permalink
Browse files

Merge branch 'MDL-14837_show-time-on-no-duration-events_22_STABLE' of h…

  • Loading branch information...
2 parents 91470a3 + afb0b3f commit 2e0d0590daffde2fe19b6fbea4d1f778d8b5fc57 @nebgor nebgor committed Feb 28, 2012
Showing with 2 additions and 2 deletions.
  1. +2 −2 calendar/lib.php
View
@@ -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 2e0d059

Please sign in to comment.