mirror of
https://github.com/friendica/friendica
synced 2025-04-22 19:50:11 +00:00
Replaced "api_date"
This commit is contained in:
parent
2d5989a6bd
commit
1f79d25ffc
5 changed files with 9 additions and 20 deletions
|
@ -26,6 +26,7 @@ use Friendica\Content\ContactSelector;
|
|||
use Friendica\Content\Text\BBCode;
|
||||
use Friendica\Core\Protocol;
|
||||
use Friendica\Model\Contact;
|
||||
use Friendica\Util\DateTimeFormat;
|
||||
use Friendica\Util\Proxy;
|
||||
|
||||
/**
|
||||
|
@ -124,7 +125,7 @@ class User extends BaseDataTransferObject
|
|||
$this->followers_count = $apcontact['followers_count'] ?? 0;
|
||||
$this->friends_count = $apcontact['following_count'] ?? 0;
|
||||
$this->listed_count = 0;
|
||||
$this->created_at = api_date($publicContact['created']);
|
||||
$this->created_at = DateTimeFormat::utc($publicContact['created'], DateTimeFormat::API);
|
||||
$this->favourites_count = 0;
|
||||
$this->verified = $uid != 0;
|
||||
$this->statuses_count = $apcontact['statuses_count'] ?? 0;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue