mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-12-24 23:58:54 +01:00
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 {
|
||||
$formatted = new egw_time($record[$name]);
|
||||
} catch (Exception $e) {
|
||||
$warnings[] = $name.': ' . $e->getMessage();
|
||||
$warnings[] = $name.': ' . $e->getMessage() . "\n" .
|
||||
'Format: '.'!'.egw_time::$user_dateformat . ' ' .egw_time::$user_timeformat;
|
||||
continue;
|
||||
}
|
||||
$errors = egw_time::getLastErrors();
|
||||
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