Make WordPress Core


Ignore:
Timestamp:
05/12/2004 07:58:01 AM (22 years ago)
Author:
saxmatt
Message:

GMT fix from Scott Merrill.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-admin/post.php

    r1265 r1266  
    316316        $ss = ($ss > 59) ? $ss - 60 : $ss;
    317317        $datemodif = ", post_date = '$aa-$mm-$jj $hh:$mn:$ss'";
    318     $datemodif_gmt = ", post_date = '".get_gmt_from_date("$aa-$mm-$jj $hh:$mn:$ss")."'";
     318    $datemodif_gmt = ", post_date_gmt = '".get_gmt_from_date("$aa-$mm-$jj $hh:$mn:$ss")."'";
    319319    } else {
    320320        $datemodif = '';
     
    341341            post_excerpt = '$excerpt',
    342342            post_title = '$post_title'"
     343            .$datemodif_gmt
    343344            .$datemodif.","
    344345            .$latlonaddition."
     346           
    345347            post_status = '$post_status',
    346348            comment_status = '$comment_status',
Note: See TracChangeset for help on using the changeset viewer.