From: dwoolhead Date: Wed, 13 Jun 2007 10:37:05 +0000 (+0000) Subject: MDL-10048 General calendar view enhancements as per spec with regard to event highlig... X-Git-Url: http://git.mjollnir.org/gw?a=commitdiff_plain;h=1c4bedd7ddba8baa922d4b17043656cd1dc40187;p=moodle.git MDL-10048 General calendar view enhancements as per spec with regard to event highlighting --- diff --git a/calendar/lib.php b/calendar/lib.php index e5474deb69..cfaced8305 100644 --- a/calendar/lib.php +++ b/calendar/lib.php @@ -1474,12 +1474,7 @@ function calendar_format_event_time($event, $now, $morehref, $usecommonwords = t } } } else { - // It's an "instantaneous" event - if ($event->timestart != usergetmidnight($event->timestart)) { - $time = ', '.calendar_time_representation($event->timestart); - } else { - $time = ' '; - } + $time = ' '; // Set printable representation if (!$showtime) {