squash timezone adjusted birthdays into a single day in the calendar, by lying and telling the js calendar that the end date/time is unknown
This commit is contained in:
parent
9fea44cbc3
commit
aa9fef7778
@ -611,6 +611,12 @@ class Events extends \Zotlabs\Web\Controller {
|
||||
$end = null;
|
||||
} else {
|
||||
$end = (($rr['adjust']) ? datetime_convert('UTC',date_default_timezone_get(),$rr['dtend'], 'c') : datetime_convert('UTC','UTC',$rr['dtend'],'c'));
|
||||
|
||||
// give a fake end to birthdays so they get crammed into a
|
||||
// single day on the calendar
|
||||
|
||||
if($rr['etype'] === 'birthday')
|
||||
$end = null;
|
||||
}
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user