mirror of
https://github.com/moodle/moodle.git
synced 2025-04-22 17:02:03 +02:00
MDL-10048 General calendar view enhancements as per spec with regard to event highlighting
This commit is contained in:
parent
7c50db30f9
commit
1c4bedd7dd
@ -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) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user