1
0
mirror of synced 2024-12-13 14:56:01 +03:00

Fix wrong date format in example PrePersist method

This commit is contained in:
hifi7 2012-11-20 05:37:43 +01:00
parent 30bddbd254
commit f221faff28

View File

@ -240,7 +240,7 @@ event occurs.
/** @PrePersist */
public function doStuffOnPrePersist()
{
$this->createdAt = date('Y-m-d H:m:s');
$this->createdAt = date('Y-m-d H:i:s');
}
/** @PrePersist */