mirror of
https://github.com/silverstripe/silverstripe-blog
synced 2024-10-22 11:05:58 +02:00
Date format bug #1941
This commit is contained in:
parent
b819135fe5
commit
36a6d0342b
@ -41,7 +41,7 @@ class BlogEntry extends Page {
|
||||
*/
|
||||
public function populateDefaults(){
|
||||
parent::populateDefaults();
|
||||
$this->Date = date("d/m/Y H:i:s",time());
|
||||
$this->Date = date("Y-m-d H:i:s",time());
|
||||
}
|
||||
|
||||
/**
|
||||
|
Loading…
Reference in New Issue
Block a user