API: Fix date format
This commit is contained in:
parent
6b374c01ce
commit
5bd51b156a
5 changed files with 7 additions and 6 deletions
|
|
@ -52,7 +52,7 @@ class Notification extends BaseDataTransferObject
|
|||
{
|
||||
$this->id = (string)$id;
|
||||
$this->type = $type;
|
||||
$this->created_at = DateTimeFormat::utc($created_at, DateTimeFormat::ATOM);
|
||||
$this->created_at = DateTimeFormat::utc($created_at, DateTimeFormat::API);
|
||||
$this->account = $account->toArray();
|
||||
|
||||
if (!empty($status)) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue