diff --git a/en/reference/events.rst b/en/reference/events.rst index dac8ce557..340a3ba47 100644 --- a/en/reference/events.rst +++ b/en/reference/events.rst @@ -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 */