mirror of
https://github.com/pierre42100/ComunicAPI
synced 2024-12-28 14:38:59 +00:00
Transform account creation date into account creation time
This commit is contained in:
parent
7e0807780a
commit
c40b04aab7
@ -255,7 +255,7 @@ class User{
|
||||
$return['allowPostFromFriendOnHisPage'] = $userInfos['autoriser_post_amis'] == 1;
|
||||
|
||||
//Account creation date
|
||||
$return['accountCreationDate'] = $userInfos['date_creation'];
|
||||
$return['account_creation_time'] = strtotime($userInfos['date_creation']);
|
||||
|
||||
//Add background image url
|
||||
$return['backgroundImage'] = CS::get()->components->backgroundImage->getPath($return['userID']);
|
||||
|
Loading…
Reference in New Issue
Block a user