1
0
mirror of synced 2025-01-19 06:51:40 +03:00

Merge pull request #141 from hifi7/patch-1

Fix wrong date format in example PrePersist method
This commit is contained in:
Guilherme Blanco 2012-11-20 07:01:03 -08:00
commit f7e9a91b5c

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 */