Renaming the date format to "JSON"
This commit is contained in:
parent
4e164690d5
commit
e7bc908655
5 changed files with 5 additions and 5 deletions
|
@ -108,7 +108,7 @@ class Account extends BaseDataTransferObject
|
|||
$userContactCreated = $userContact['created'] ?? DBA::NULL_DATETIME;
|
||||
|
||||
$created = $userContactCreated < $publicContactCreated && ($userContactCreated != DBA::NULL_DATETIME) ? $userContactCreated : $publicContactCreated;
|
||||
$this->created_at = DateTimeFormat::utc($created, DateTimeFormat::API);
|
||||
$this->created_at = DateTimeFormat::utc($created, DateTimeFormat::JSON);
|
||||
|
||||
$this->note = BBCode::convert($publicContact['about'], false);
|
||||
$this->url = $publicContact['url'];
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue