Start time is set seperately from start date

This commit is contained in:
Nathan Gray 2010-05-04 15:16:18 +00:00
parent ec48d32681
commit d0b9a13c54

View File

@ -308,6 +308,7 @@ class timesheet_ui extends timesheet_bo
list($link_id, $recurrence) = explode(':', $link_id); list($link_id, $recurrence) = explode(':', $link_id);
$event = $calendar_bo->read($link_id, $recurrence); $event = $calendar_bo->read($link_id, $recurrence);
$content['ts_start'] = $event['start']; $content['ts_start'] = $event['start'];
$content['start_time'] = egw_time::to($event['start'],'H:i');
$content['ts_title'] = $calendar_bo->link_title($event); $content['ts_title'] = $calendar_bo->link_title($event);
$content['ts_description'] = $event['description']; $content['ts_description'] = $event['description'];
$content['ts_duration'] = ($event['end'] - $event['start']) / 60; $content['ts_duration'] = ($event['end'] - $event['start']) / 60;