diff --git a/code/BlogEntry.php b/code/BlogEntry.php index 05e1e9e..29a3199 100644 --- a/code/BlogEntry.php +++ b/code/BlogEntry.php @@ -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()); } /**