Ticket #9588: 9588.3.diff
File 9588.3.diff, 770 bytes (added by , 16 years ago) |
---|
-
wp-admin/includes/template.php
2512 2512 2513 2513 // echo '<label for="timestamp" style="display: block;"><input type="checkbox" class="checkbox" name="edit_date" value="1" id="timestamp"'.$tab_index_attribute.' /> '.__( 'Edit timestamp' ).'</label><br />'; 2514 2514 2515 $time_adj = time() + (get_option( 'gmt_offset' ) * 3600);2515 $time_adj = current_time('timestamp'); 2516 2516 $post_date = ($for_post) ? $post->post_date : $comment->comment_date; 2517 2517 $jj = ($edit) ? mysql2date( 'd', $post_date ) : gmdate( 'd', $time_adj ); 2518 2518 $mm = ($edit) ? mysql2date( 'm', $post_date ) : gmdate( 'm', $time_adj );