Import date fixed.
This commit is contained in:
parent
976c435ae1
commit
032730d2b2
|
@ -84,8 +84,10 @@ class User
|
|||
*/
|
||||
public function onCreate()
|
||||
{
|
||||
if (!$this->createdAt) {
|
||||
$this->createdAt = new \DateTime();
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* Get id
|
||||
|
|
Loading…
Reference in a new issue