mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-12-26 16:48:49 +01:00
a bit nicer fromat for the calendar_title
This commit is contained in:
parent
336c0d0cdf
commit
70a6356dd8
@ -814,8 +814,10 @@
|
||||
{
|
||||
return 'not an event !!!';
|
||||
}
|
||||
$name = $GLOBALS['phpgw']->common->show_date($this->bocal->maketime($event['start']) - $this->bocal->datetime->tz_offset);
|
||||
$name .= ' -- ' . $GLOBALS['phpgw']->common->show_date($this->bocal->maketime($event['end']) - $this->bocal->datetime->tz_offset);
|
||||
$format = $GLOBALS['phpgw_info']['user']['preferences']['common']['dateformat'] . ' '.
|
||||
($GLOBALS['phpgw_info']['user']['preferences']['common']['timeformat'] == '12' ? 'h:i a' : 'H:i');
|
||||
|
||||
$name = $GLOBALS['phpgw']->common->show_date($this->bocal->maketime($event['start']) - $this->bocal->datetime->tz_offset,$format);
|
||||
$name .= ': ' . $event['title'];
|
||||
|
||||
return $name;
|
||||
|
Loading…
Reference in New Issue
Block a user