Date format version 3.3

@Diego thanks for reply, I wound up just doing

echo "<td style=\"width:40px;\">" . $row->lastedit->toDateTimeString() . "</td>";

Found it tucked away in a trait. Wasn’t in the docs, I created an issue and they are adding it to docs. I was hoping there was a global setting to change the format to Y-m-d H:i:s for datetime, but I guess there is not a config setting for it. Naturally I could always format with php like:

echo "<td style=\"width:40px;\">" . date_format($row->lastedit, 'Y-m-d H:i:s') . "</td>";

But since I am using cake I figured I’d try their way.

See Chronos FormattingTrait