fix date format
This commit is contained in:
parent
fceacaeed6
commit
dfda911664
2 changed files with 3 additions and 3 deletions
|
|
@ -4,7 +4,7 @@ $children = $page->children()->map(function ($child) {
|
|||
return [
|
||||
'title' => $child->title()->value(),
|
||||
'url' => $child->url(),
|
||||
'modified' => $child->modified('Y-m-d'),
|
||||
'modified' => $child->modified('Y-MM-d'),
|
||||
'status' => $child->status(),
|
||||
'logo' => $child->client()->toPage()->logo()->toFile()->url()
|
||||
];
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue