Changeset 31862
- Timestamp:
- 03/23/2015 02:13:50 AM (10 years ago)
- Location:
- trunk/src
- Files:
-
- 10 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-admin/edit-form-advanced.php
r31681 r31862 90 90 9 => sprintf( __('Post scheduled for: <strong>%1$s</strong>. <a target="_blank" href="%2$s">Preview post</a>'), 91 91 /* translators: Publish box date format, see http://php.net/date */ 92 date_i18n( __( 'M j, Y @ G:i' ), strtotime( $post->post_date ) ), esc_url( $permalink ) ),92 date_i18n( __( 'M j, Y @ H:i' ), strtotime( $post->post_date ) ), esc_url( $permalink ) ), 93 93 10 => sprintf( __('Post draft updated. <a target="_blank" href="%s">Preview post</a>'), esc_url( add_query_arg( 'preview', 'true', $permalink ) ) ), 94 94 ); … … 103 103 7 => __('Page saved.'), 104 104 8 => sprintf( __('Page submitted. <a target="_blank" href="%s">Preview page</a>'), esc_url( add_query_arg( 'preview', 'true', $permalink ) ) ), 105 9 => sprintf( __('Page scheduled for: <strong>%1$s</strong>. <a target="_blank" href="%2$s">Preview page</a>'), date_i18n( __( 'M j, Y @ G:i' ), strtotime( $post->post_date ) ), esc_url( $permalink ) ),105 9 => sprintf( __('Page scheduled for: <strong>%1$s</strong>. <a target="_blank" href="%2$s">Preview page</a>'), date_i18n( __( 'M j, Y @ H:i' ), strtotime( $post->post_date ) ), esc_url( $permalink ) ), 106 106 10 => sprintf( __('Page draft updated. <a target="_blank" href="%s">Preview page</a>'), esc_url( add_query_arg( 'preview', 'true', $permalink ) ) ), 107 107 ); -
trunk/src/wp-admin/edit-form-comment.php
r31776 r31862 101 101 <?php 102 102 /* translators: Publish box date format, see http://php.net/date */ 103 $datef = __( 'M j, Y @ G:i' );103 $datef = __( 'M j, Y @ H:i' ); 104 104 $stamp = __('Submitted on: <b>%1$s</b>'); 105 105 $date = date_i18n( $datef, strtotime( $comment->comment_date ) ); -
trunk/src/wp-admin/includes/class-wp-comments-list-table.php
r31681 r31862 547 547 548 548 public function column_date() { 549 return get_comment_date( __( 'Y/m/d \a\t g:i a' ) );549 return get_comment_date( __( 'Y/m/d \a\t g:i a' ) ); 550 550 } 551 551 -
trunk/src/wp-admin/includes/class-wp-plugin-install-list-table.php
r31333 r31862 447 447 $action_links = apply_filters( 'plugin_install_action_links', $action_links, $plugin ); 448 448 449 $date_format = __( 'M j, Y @ G:i' );449 $date_format = __( 'M j, Y @ H:i' ); 450 450 $last_updated_timestamp = strtotime( $plugin['last_updated'] ); 451 451 ?> -
trunk/src/wp-admin/includes/class-wp-posts-list-table.php
r31841 r31862 822 822 $time_diff = 0; 823 823 } else { 824 $t_time = get_the_time( __( 'Y/m/d g:i:s A' ) );824 $t_time = get_the_time( __( 'Y/m/d g:i:s a' ) ); 825 825 $m_time = $post->post_date; 826 826 $time = get_post_time( 'G', true, $post ); -
trunk/src/wp-admin/includes/meta-boxes.php
r31830 r31862 163 163 <?php 164 164 /* translators: Publish box date format, see http://php.net/date */ 165 $datef = __( 'M j, Y @ G:i' );165 $datef = __( 'M j, Y @ H:i' ); 166 166 if ( 0 != $post->ID ) { 167 167 if ( 'future' == $post->post_status ) { // scheduled for publishing at a future date … … 294 294 <?php 295 295 /* translators: Publish box date format, see http://php.net/date */ 296 $datef = __( 'M j, Y @ G:i' );296 $datef = __( 'M j, Y @ H:i' ); 297 297 $stamp = __('Uploaded on: <b>%1$s</b>'); 298 298 $date = date_i18n( $datef, strtotime( $post->post_date ) ); -
trunk/src/wp-admin/includes/plugin-install.php
r31829 r31862 441 441 echo "</div>\n"; 442 442 443 $date_format = __( 'M j, Y @ G:i' );443 $date_format = __( 'M j, Y @ H:i' ); 444 444 $last_updated_timestamp = strtotime( $api->last_updated ); 445 445 ?> -
trunk/src/wp-admin/includes/revision.php
r31471 r31862 204 204 'title' => get_the_title( $post->ID ), 205 205 'author' => $authors[ $revision->post_author ], 206 'date' => date_i18n( __( 'M j, Y @ G:i' ), $modified ),207 'dateShort' => date_i18n( _x( 'j M @ G:i', 'revision date short format' ), $modified ),206 'date' => date_i18n( __( 'M j, Y @ H:i' ), $modified ), 207 'dateShort' => date_i18n( _x( 'j M @ H:i', 'revision date short format' ), $modified ), 208 208 'timeAgo' => sprintf( __( '%s ago' ), human_time_diff( $modified_gmt, $now_gmt ) ), 209 209 'autosave' => $autosave, … … 222 222 'title' => get_the_title( $post->ID ), 223 223 'author' => $authors[ $post->post_author ], 224 'date' => date_i18n( __( 'M j, Y @ G:i' ), strtotime( $post->post_modified ) ),225 'dateShort' => date_i18n( _x( 'j M @ G:i', 'revision date short format' ), strtotime( $post->post_modified ) ),224 'date' => date_i18n( __( 'M j, Y @ H:i' ), strtotime( $post->post_modified ) ), 225 'dateShort' => date_i18n( _x( 'j M @ H:i', 'revision date short format' ), strtotime( $post->post_modified ) ), 226 226 'timeAgo' => sprintf( __( '%s ago' ), human_time_diff( strtotime( $post->post_modified_gmt ), $now_gmt ) ), 227 227 'autosave' => false, -
trunk/src/wp-admin/options-general.php
r31124 r31862 19 19 $parent_file = 'options-general.php'; 20 20 /* translators: date and time format for exact current time, mainly about timezones, see http://php.net/date */ 21 $timezone_format = _x('Y-m-d G:i:s', 'timezone date format');21 $timezone_format = _x('Y-m-d H:i:s', 'timezone date format'); 22 22 23 23 /** -
trunk/src/wp-includes/post-template.php
r31754 r31862 1701 1701 1702 1702 /* translators: revision date format, see http://php.net/date */ 1703 $datef = _x( ' j F, Y @ G:i', 'revision date format');1703 $datef = _x( 'F j, Y @ H:i', 'revision date format'); 1704 1704 /* translators: 1: date */ 1705 1705 $autosavef = _x( '%1$s [Autosave]', 'post revision title extra' ); … … 1737 1737 $author = get_the_author_meta( 'display_name', $revision->post_author ); 1738 1738 /* translators: revision date format, see http://php.net/date */ 1739 $datef = _x( ' j F, Y @ G:i:s', 'revision date format');1739 $datef = _x( 'F j, Y @ H:i:s', 'revision date format'); 1740 1740 1741 1741 $gravatar = get_avatar( $revision->post_author, 24 );
Note: See TracChangeset
for help on using the changeset viewer.