forked from extern/egroupware
Log the format attempted
This commit is contained in:
parent
1d12d66870
commit
dbb539e1d3
@ -342,13 +342,15 @@ class importexport_import_csv implements importexport_iface_import_record { //,
|
|||||||
try {
|
try {
|
||||||
$formatted = new egw_time($record[$name]);
|
$formatted = new egw_time($record[$name]);
|
||||||
} catch (Exception $e) {
|
} catch (Exception $e) {
|
||||||
$warnings[] = $name.': ' . $e->getMessage();
|
$warnings[] = $name.': ' . $e->getMessage() . "\n" .
|
||||||
|
'Format: '.'!'.egw_time::$user_dateformat . ' ' .egw_time::$user_timeformat;
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
$errors = egw_time::getLastErrors();
|
$errors = egw_time::getLastErrors();
|
||||||
foreach($errors['errors'] as $char => $msg)
|
foreach($errors['errors'] as $char => $msg)
|
||||||
{
|
{
|
||||||
$warnings[] = "$name: [$char] $msg";
|
$warnings[] = "$name: [$char] $msg\n".
|
||||||
|
'Format: '.'!'.egw_time::$user_dateformat . ' ' .egw_time::$user_timeformat;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user