mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-11-24 00:43:20 +01:00
* Calendar: mail all participants was attaching iCal with wrong time(zone)
This commit is contained in:
parent
1a2db4efbc
commit
db7e935aef
@ -1043,7 +1043,9 @@ class calendar_uiforms extends calendar_ui
|
||||
list($subject,$body) = $this->bo->get_update_message($event,$added ? MSG_ADDED : MSG_MODIFIED); // update-message is in TZ of the user
|
||||
#error_log(__METHOD__.print_r($event,true));
|
||||
$boical = new calendar_ical();
|
||||
$ics = $boical->exportVCal(array($event),'2.0','request',false);
|
||||
// we need to pass $event[id] so iCal class reads event again,
|
||||
// as event is in user TZ, but iCal class expects server TZ!
|
||||
$ics = $boical->exportVCal(array($event['id']),'2.0','request',false);
|
||||
|
||||
$ics_file = tempnam($GLOBALS['egw_info']['server']['temp_dir'],'ics');
|
||||
if(($f = fopen($ics_file,'w')))
|
||||
|
Loading…
Reference in New Issue
Block a user