From 178f656465608411b6855da418dc2d3aa9b72025 Mon Sep 17 00:00:00 2001 From: emc3 Date: Mon, 3 May 2004 21:45:34 +0000 Subject: [PATCH] Removed useless date() call. git-svn-id: http://svn.automattic.com/wordpress/trunk@1221 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-admin/post.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wp-admin/post.php b/wp-admin/post.php index 8b429414c..f409fef31 100644 --- a/wp-admin/post.php +++ b/wp-admin/post.php @@ -86,7 +86,7 @@ case 'post': $hh = ($hh > 23) ? $hh - 24 : $hh; $mn = ($mn > 59) ? $mn - 60 : $mn; $ss = ($ss > 59) ? $ss - 60 : $ss; - $now = date("$aa-$mm-$jj $hh:$mn:$ss"); + $now = "$aa-$mm-$jj $hh:$mn:$ss"; $now_gmt = get_gmt_from_date("$aa-$mm-$jj $hh:$mn:$ss"); } else { $now = current_time('mysql');