diff --git a/src/wp-admin/includes/template.php b/src/wp-admin/includes/template.php index 302e9b48dc..88c7155e95 100644 --- a/src/wp-admin/includes/template.php +++ b/src/wp-admin/includes/template.php @@ -784,9 +784,10 @@ function touch_time( $edit = 1, $for_post = 1, $tab_index = 0, $multi = 0 ) { $month = ''; @@ -797,7 +798,7 @@ function touch_time( $edit = 1, $for_post = 1, $tab_index = 0, $multi = 0 ) { echo '
'; diff --git a/src/wp-admin/js/post.js b/src/wp-admin/js/post.js index c2a14a647d..a02be9fb08 100644 --- a/src/wp-admin/js/post.js +++ b/src/wp-admin/js/post.js @@ -558,8 +558,9 @@ jQuery(document).ready( function($) { $('#timestamp').html(stamp); } else { $('#timestamp').html( - publishOn + ' ' + - postL10n.dateFormat.replace( '%1$s', $('option[value="' + $('#mm').val() + '"]', '#mm').text() ) + '\n' + publishOn + ' ' + + postL10n.dateFormat + .replace( '%1$s', $( 'option[value="' + mm + '"]', '#mm' ).attr( 'data-text' ) ) .replace( '%2$s', jj ) .replace( '%3$s', aa ) .replace( '%4$s', hh ) diff --git a/src/wp-includes/script-loader.php b/src/wp-includes/script-loader.php index 9f42b8a254..8897e4af96 100644 --- a/src/wp-includes/script-loader.php +++ b/src/wp-includes/script-loader.php @@ -487,7 +487,7 @@ function wp_default_scripts( &$scripts ) { 'publishOnFuture' => __('Schedule for:'), 'publishOnPast' => __('Published on:'), /* translators: 1: month, 2: day, 3: year, 4: hour, 5: minute */ - 'dateFormat' => __('%1$s %2$s, %3$s @ %4$s : %5$s'), + 'dateFormat' => __('%1$s %2$s, %3$s @ %4$s:%5$s'), 'showcomm' => __('Show more comments'), 'endcomm' => __('No more comments found.'), 'publish' => __('Publish'),