change date format
This commit is contained in:
parent
c6d11680f3
commit
5b39c7349f
@ -211,13 +211,16 @@ class ICrmOrderActions
|
|||||||
);
|
);
|
||||||
$phones[] = $phoneWork;
|
$phones[] = $phoneWork;
|
||||||
|
|
||||||
|
$createdAt = new \DateTime($arUser['DATE_REGISTER']);
|
||||||
|
$createdAt = $createdAt->format('Y-m-d H:i:s');
|
||||||
|
|
||||||
$result = self::clearArr(array(
|
$result = self::clearArr(array(
|
||||||
'externalId' => $arFields['USER_ID'],
|
'externalId' => $arFields['USER_ID'],
|
||||||
'lastName' => $lastName,
|
'lastName' => $lastName,
|
||||||
'firstName' => $firstName,
|
'firstName' => $firstName,
|
||||||
'patronymic' => $patronymic,
|
'patronymic' => $patronymic,
|
||||||
'phones' => $phones
|
'phones' => $phones,
|
||||||
'createdAt' => $arUser['DATE_REGISTER'],
|
'createdAt' => $createdAt,
|
||||||
));
|
));
|
||||||
|
|
||||||
$customer = $api->customerEdit($result);
|
$customer = $api->customerEdit($result);
|
||||||
|
Loading…
Reference in New Issue
Block a user