mirror of
https://github.com/friendica/friendica
synced 2025-04-27 21:50:11 +00:00
Renaming the date format to "JSON"
This commit is contained in:
parent
4e164690d5
commit
e7bc908655
5 changed files with 5 additions and 5 deletions
|
@ -100,7 +100,7 @@ class Status extends BaseDataTransferObject
|
|||
public function __construct(array $item, Account $account, Counts $counts, UserAttributes $userAttributes, bool $sensitive, Application $application, array $mentions, array $tags, Card $card, array $attachments, array $reblog)
|
||||
{
|
||||
$this->id = (string)$item['uri-id'];
|
||||
$this->created_at = DateTimeFormat::utc($item['created'], DateTimeFormat::API);
|
||||
$this->created_at = DateTimeFormat::utc($item['created'], DateTimeFormat::JSON);
|
||||
|
||||
if ($item['gravity'] == GRAVITY_COMMENT) {
|
||||
$this->in_reply_to_id = (string)$item['thr-parent-id'];
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue