diff --git a/src/wp-admin/includes/meta-boxes.php b/src/wp-admin/includes/meta-boxes.php index 504b04eda1..7c5d72570c 100644 --- a/src/wp-admin/includes/meta-boxes.php +++ b/src/wp-admin/includes/meta-boxes.php @@ -380,18 +380,18 @@ function attachment_submit_meta_box( $post ) {
- post_date ) + date_i18n( _x( 'M j, Y', 'publish box date format' ), strtotime( $post->post_date ) ), + /* translators: Publish box time format, see https://secure.php.net/date */ + date_i18n( _x( 'H:i', 'publish box time format' ), strtotime( $post->post_date ) ) ); - printf( - /* translators: Attachment information. %s: Date the attachment was uploaded. */ - __( 'Uploaded on: %s' ), - '' . $date . '' - ); - ?> + /* translators: Attachment information. %s: Date the attachment was uploaded. */ + printf( __( 'Uploaded on: %s' ), '' . $uploaded_on . '' ); + ?>