Exemplo n.º 1
0
 function retrieve_entity_info($record, $module)
 {
     parent::retrieve_entity_info($record, $module);
     $start = DateTimeField::convertToUserTimeZone($this->column_fields['date_start'] . ' ' . $this->column_fields['time_start']);
     $this->column_fields['date_start'] = $start->format('Y-m-d');
     $end = DateTimeField::convertToUserTimeZone($this->column_fields['due_date'] . ' ' . $this->column_fields['time_end']);
     $this->column_fields['due_date'] = $end->format('Y-m-d');
 }