Removed TODO note for Carbon
Left a stray TODO in there that needed to be removed since Moment has been replaced with Carbon.
This commit is contained in:
parent
3260e3b76b
commit
73e4243231
1 changed files with 0 additions and 2 deletions
|
@ -131,8 +131,6 @@ class Book
|
||||||
$deleted = isset($page['deleted']) ? $page['deleted'] : 'false';
|
$deleted = isset($page['deleted']) ? $page['deleted'] : 'false';
|
||||||
}
|
}
|
||||||
|
|
||||||
//TODO: switch to Carbon for Date formatting
|
|
||||||
// https://carbon.nesbot.com/
|
|
||||||
$created = $task != 'create' ? new Carbon($page['rawCreated']) : Carbon::now();
|
$created = $task != 'create' ? new Carbon($page['rawCreated']) : Carbon::now();
|
||||||
$updated = Carbon::now();
|
$updated = Carbon::now();
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue