Fix display of all-day events in iTip invitation mini-calendar

This commit is contained in:
Thomas Bruederli 2015-02-25 17:25:47 +01:00
parent 091e42ab63
commit 1c590d3969

View file

@ -2573,7 +2573,7 @@ class calendar extends rcube_plugin
*/ */
private function mail_agenda_event_row($event, $class = '') private function mail_agenda_event_row($event, $class = '')
{ {
$time = $event['all-day'] ? $this->gettext('allday') : $time = $event['allday'] ? $this->gettext('all-day') :
$this->rc->format_date($event['start'], $this->rc->config->get('time_format')) . ' - ' . $this->rc->format_date($event['start'], $this->rc->config->get('time_format')) . ' - ' .
$this->rc->format_date($event['end'], $this->rc->config->get('time_format')); $this->rc->format_date($event['end'], $this->rc->config->get('time_format'));