mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-11-07 16:44:20 +01:00
Format start and end date to avoid js timestamp fiddling
This commit is contained in:
parent
809ad4a678
commit
c328d72f27
@ -481,6 +481,12 @@ class calendar_uilist extends calendar_ui
|
||||
|
||||
// set id for grid
|
||||
$event['row_id'] = $event['id'].($event['recur_type'] ? ':'.$event['recur_date'] : '');
|
||||
|
||||
// Format start and end with timezone
|
||||
foreach(array('start','end') as $time)
|
||||
{
|
||||
$event[$time] = egw_time::to($event[$time],'Y-m-d\TH:i:s\Z');
|
||||
}
|
||||
|
||||
$rows[] = $event;
|
||||
unset($app);
|
||||
|
Loading…
Reference in New Issue
Block a user