Changeset 16751
- Timestamp:
- 12/06/2010 04:32:25 PM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-includes/class-wp-xmlrpc-server.php
r16683 r16751 1149 1149 $dateCreated = str_replace( 'Z', '', $content_struct['date_created_gmt']->getIso() ) . 'Z'; // We know this is supposed to be GMT, so we're going to slap that Z on there by force 1150 1150 $comment_date = get_date_from_gmt(iso8601_to_datetime($dateCreated)); 1151 $comment_date_gmt = iso8601_to_datetime($dateCreated, GMT);1151 $comment_date_gmt = iso8601_to_datetime($dateCreated, 'GMT'); 1152 1152 } 1153 1153 … … 2260 2260 if ( !empty( $dateCreated ) ) { 2261 2261 $post_date = get_date_from_gmt(iso8601_to_datetime($dateCreated)); 2262 $post_date_gmt = iso8601_to_datetime($dateCreated, GMT);2262 $post_date_gmt = iso8601_to_datetime($dateCreated, 'GMT'); 2263 2263 } else { 2264 2264 $post_date = current_time('mysql'); … … 2569 2569 if ( !empty( $dateCreated ) ) { 2570 2570 $post_date = get_date_from_gmt(iso8601_to_datetime($dateCreated)); 2571 $post_date_gmt = iso8601_to_datetime($dateCreated, GMT);2571 $post_date_gmt = iso8601_to_datetime($dateCreated, 'GMT'); 2572 2572 } else { 2573 2573 $post_date = $postdata['post_date'];
Note: See TracChangeset
for help on using the changeset viewer.