]> git.mjollnir.org Git - moodle.git/commitdiff
MDL-10048 General calendar view enhancements as per spec with regard to event highlig...
authordwoolhead <dwoolhead>
Wed, 13 Jun 2007 10:37:05 +0000 (10:37 +0000)
committerdwoolhead <dwoolhead>
Wed, 13 Jun 2007 10:37:05 +0000 (10:37 +0000)
calendar/lib.php

index e5474deb696f2bee204853d5667ce7a6ab889017..cfaced8305c797ebb131426ea48b738b44bc2d2c 100644 (file)
@@ -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) {