mirror of
https://github.com/Karaka-Management/oms-Editor.git
synced 2026-02-15 01:38:40 +00:00
datetime is jsonserializable, didn't know that :)
This commit is contained in:
parent
26b1ddaf27
commit
d5f7aae34a
|
|
@ -254,7 +254,7 @@ class EditorDoc implements ArrayableInterface, \JsonSerializable
|
||||||
'title' => $this->title,
|
'title' => $this->title,
|
||||||
'plain' => $this->plain,
|
'plain' => $this->plain,
|
||||||
'content' => $this->content,
|
'content' => $this->content,
|
||||||
'createdAt' => $this->createdAt->format('Y-m-d H:i:s'),
|
'createdAt' => $this->createdAt,
|
||||||
'createdBy' => $this->createdBy,
|
'createdBy' => $this->createdBy,
|
||||||
];
|
];
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user