API: Fix date format

This commit is contained in:
Michael 2021-06-01 22:32:05 +00:00
commit 5bd51b156a
5 changed files with 7 additions and 6 deletions

View file

@ -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)) {