1
0
Fork 0

Renaming the date format to "JSON"

This commit is contained in:
Michael 2021-06-02 03:32:42 +00:00
commit e7bc908655
5 changed files with 5 additions and 5 deletions

View file

@ -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'];