Hi, in the documents book.cakephp.org I think there is an error on the page Date& Time
$newTime = $time->subDays(5)
->addHours(-2)
->addMonth(1);
The addMonth method should be addMonths
Hi, in the documents book.cakephp.org I think there is an error on the page Date& Time
$newTime = $time->subDays(5)
->addHours(-2)
->addMonth(1);
The addMonth method should be addMonths
Fixed in Fix chronos mistake. · cakephp/docs@77fa227 · GitHub
Tip:
You can open a ticket directly on the docs repo, or better yet even provide a quick PR with the fix (just click edit and then confirm).