forked from extern/egroupware
Fix start time import
This commit is contained in:
parent
7ee16e78b3
commit
490b516c7d
@ -165,9 +165,6 @@ class timesheet_import_csv implements importexport_iface_import_plugin {
|
|||||||
|
|
||||||
importexport_import_csv::convert($record, timesheet_egw_record::$types, 'timesheet', $lookups);
|
importexport_import_csv::convert($record, timesheet_egw_record::$types, 'timesheet', $lookups);
|
||||||
|
|
||||||
// Date / time
|
|
||||||
$record['ts_start'] = strtotime($record['ts_start']);
|
|
||||||
|
|
||||||
// Automatically handle text categories without explicit translation
|
// Automatically handle text categories without explicit translation
|
||||||
foreach(array('ts_status','cat_id') as $field) {
|
foreach(array('ts_status','cat_id') as $field) {
|
||||||
if(!is_numeric($record[$field])) {
|
if(!is_numeric($record[$field])) {
|
||||||
|
Loading…
Reference in New Issue
Block a user