Renaming the date format to "JSON"

This commit is contained in:
Michael 2021-06-02 03:32:42 +00:00
commit e7bc908655
5 changed files with 5 additions and 5 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::API);
$this->created_at = DateTimeFormat::utc($created_at, DateTimeFormat::JSON);
$this->account = $account->toArray();
if (!empty($status)) {