forked from extern/egroupware
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 !!!';
|
return 'not an event !!!';
|
||||||
}
|
}
|
||||||
$name = $GLOBALS['phpgw']->common->show_date($this->bocal->maketime($event['start']) - $this->bocal->datetime->tz_offset);
|
$format = $GLOBALS['phpgw_info']['user']['preferences']['common']['dateformat'] . ' '.
|
||||||
$name .= ' -- ' . $GLOBALS['phpgw']->common->show_date($this->bocal->maketime($event['end']) - $this->bocal->datetime->tz_offset);
|
($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'];
|
$name .= ': ' . $event['title'];
|
||||||
|
|
||||||
return $name;
|
return $name;
|
||||||
|
Loading…
Reference in New Issue
Block a user