Changeset 46085
- Timestamp:
- 09/09/2019 12:06:29 AM (4 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-admin/includes/meta-boxes.php
r46083 r46085 381 381 <div class="misc-pub-section curtime misc-pub-curtime"> 382 382 <span id="timestamp"> 383 <?php 384 $date = date_i18n( 383 <?php 384 $uploaded_on = sprintf( 385 /* translators: Publish box date string. 1: Date, 2: Time. See https://secure.php.net/date */ 386 __( '%1$s at %2$s' ), 385 387 /* translators: Publish box date format, see https://secure.php.net/date */ 386 __( 'M j, Y @ H:i' ), 387 strtotime( $post->post_date ) 388 date_i18n( _x( 'M j, Y', 'publish box date format' ), strtotime( $post->post_date ) ), 389 /* translators: Publish box time format, see https://secure.php.net/date */ 390 date_i18n( _x( 'H:i', 'publish box time format' ), strtotime( $post->post_date ) ) 388 391 ); 389 printf( 390 /* translators: Attachment information. %s: Date the attachment was uploaded. */ 391 __( 'Uploaded on: %s' ), 392 '<b>' . $date . '</b>' 393 ); 394 ?> 392 /* translators: Attachment information. %s: Date the attachment was uploaded. */ 393 printf( __( 'Uploaded on: %s' ), '<b>' . $uploaded_on . '</b>' ); 394 ?> 395 395 </span> 396 396 </div><!-- .misc-pub-section -->
Note: See TracChangeset
for help on using the changeset viewer.