From 5c1eae7460156f755014e0949b512aafb14a5dce Mon Sep 17 00:00:00 2001 From: Matt Mullenweg Date: Wed, 12 May 2004 07:58:01 +0000 Subject: [PATCH] GMT fix from Scott Merrill. git-svn-id: https://develop.svn.wordpress.org/trunk@1266 602fd350-edb4-49c9-b593-d223f7449a82 --- 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 89c75e0f58..adaefeb2f0 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',