Date format bug #1941

This commit is contained in:
Jeremy Shipman 2008-01-14 02:19:53 +00:00
parent b819135fe5
commit 36a6d0342b
1 changed files with 1 additions and 1 deletions

View File

@ -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());
}
/**