From 890a74e75571dd0367f15a7024c5585e264d7614 Mon Sep 17 00:00:00 2001 From: saxmatt Date: Wed, 12 May 2004 07:58:01 +0000 Subject: [PATCH] GMT fix from Scott Merrill. git-svn-id: http://svn.automattic.com/wordpress/trunk@1266 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-admin/post.php | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/wp-admin/post.php b/wp-admin/post.php index 89c75e0f5..adaefeb2f 100644 --- a/wp-admin/post.php +++ b/wp-admin/post.php @@ -315,7 +315,7 @@ case 'editpost': $mn = ($mn > 59) ? $mn - 60 : $mn; $ss = ($ss > 59) ? $ss - 60 : $ss; $datemodif = ", post_date = '$aa-$mm-$jj $hh:$mn:$ss'"; - $datemodif_gmt = ", post_date = '".get_gmt_from_date("$aa-$mm-$jj $hh:$mn:$ss")."'"; + $datemodif_gmt = ", post_date_gmt = '".get_gmt_from_date("$aa-$mm-$jj $hh:$mn:$ss")."'"; } else { $datemodif = ''; $datemodif_gmt = ''; @@ -340,8 +340,10 @@ $now_gmt = current_time('mysql', 1); post_content = '$content', post_excerpt = '$excerpt', post_title = '$post_title'" + .$datemodif_gmt .$datemodif."," .$latlonaddition." + post_status = '$post_status', comment_status = '$comment_status', ping_status = '$ping_status',