]> git.mxchange.org Git - friendica.git/blobdiff - src/Object/Api/Mastodon/Notification.php
Merge pull request #10359 from annando/milliseconds
[friendica.git] / src / Object / Api / Mastodon / Notification.php
index ee4930e3cdb569e3b4118892784a61e8f4e14f01..579598db6d394b35dc4bede92df3f6e69f7c3050 100644 (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::JSON);
                $this->account    = $account->toArray();
 
                if (!empty($status)) {