mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-12-22 14:41:29 +01:00
Fix birthday import, rename job title column in default definition
This commit is contained in:
parent
3ff97fb7e6
commit
eb40104d5b
@ -144,7 +144,7 @@ class addressbook_import_contacts_csv extends importexport_basic_import_csv {
|
|||||||
if(array_key_exists('private', $record_array) && (!isset($record_array['private']) || $record_array['private'] == '')) unset($record->private);
|
if(array_key_exists('private', $record_array) && (!isset($record_array['private']) || $record_array['private'] == '')) unset($record->private);
|
||||||
|
|
||||||
// Format birthday as backend requires - converter should give timestamp
|
// Format birthday as backend requires - converter should give timestamp
|
||||||
if(isset($record->bday) && is_numeric($record->bday))
|
if($record->bday && is_numeric($record->bday))
|
||||||
{
|
{
|
||||||
$time = new egw_time($record->bday);
|
$time = new egw_time($record->bday);
|
||||||
$record->bday = $time->format('Y-m-d');
|
$record->bday = $time->format('Y-m-d');
|
||||||
|
@ -217,7 +217,7 @@
|
|||||||
<entry type="string" name="bday">Birthday</entry>
|
<entry type="string" name="bday">Birthday</entry>
|
||||||
<entry type="string" name="org_name">Company</entry>
|
<entry type="string" name="org_name">Company</entry>
|
||||||
<entry type="string" name="org_unit">Department</entry>
|
<entry type="string" name="org_unit">Department</entry>
|
||||||
<entry type="string" name="title">title</entry>
|
<entry type="string" name="title">Job Title</entry>
|
||||||
<entry type="string" name="role">Role</entry>
|
<entry type="string" name="role">Role</entry>
|
||||||
<entry type="string" name="assistent">Assistent</entry>
|
<entry type="string" name="assistent">Assistent</entry>
|
||||||
<entry type="string" name="room">Room</entry>
|
<entry type="string" name="room">Room</entry>
|
||||||
|
Loading…
Reference in New Issue
Block a user