From 36a6d0342b7f8069172dc56ca5f69f9b39cf2075 Mon Sep 17 00:00:00 2001 From: Jeremy Shipman Date: Mon, 14 Jan 2008 02:19:53 +0000 Subject: [PATCH] Date format bug #1941 --- code/BlogEntry.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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()); } /**