1
0
mirror of synced 2024-11-22 05:16:09 +03:00

change date format

This commit is contained in:
Ilyas Salikhov 2013-07-26 16:17:34 +04:00
parent c6d11680f3
commit 5b39c7349f

View File

@ -211,13 +211,16 @@ class ICrmOrderActions
);
$phones[] = $phoneWork;
$createdAt = new \DateTime($arUser['DATE_REGISTER']);
$createdAt = $createdAt->format('Y-m-d H:i:s');
$result = self::clearArr(array(
'externalId' => $arFields['USER_ID'],
'lastName' => $lastName,
'firstName' => $firstName,
'patronymic' => $patronymic,
'phones' => $phones
'createdAt' => $arUser['DATE_REGISTER'],
'phones' => $phones,
'createdAt' => $createdAt,
));
$customer = $api->customerEdit($result);