Changeset 46084 for trunk/src/wp-admin/edit-form-comment.php
- Timestamp:
- 09/08/2019 11:52:43 PM (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-admin/edit-form-comment.php
r45932 r46084 104 104 <div class="misc-pub-section curtime misc-pub-curtime"> 105 105 <?php 106 /* translators: Publish box date format, see https://secure.php.net/date */ 107 $datef = __( 'M j, Y @ H:i' ); 106 $submitted = sprintf( 107 /* translators: 1: Comment date, 2: Comment time. */ 108 __( '%1$s at %2$s' ), 109 /* translators: Publish box date format, see https://secure.php.net/date */ 110 date_i18n( _x( 'M j, Y', 'publish box date format' ), strtotime( $comment->comment_date ) ), 111 /* translators: Publish box time format, see https://secure.php.net/date */ 112 date_i18n( _x( 'H:i', 'publish box time format' ), strtotime( $comment->comment_date ) ) 113 ); 108 114 ?> 109 115 <span id="timestamp"> 110 116 <?php 111 printf( 112 /* translators: %s: Comment date. */ 113 __( 'Submitted on: %s' ), 114 '<b>' . date_i18n( $datef, strtotime( $comment->comment_date ) ) . '</b>' 115 ); 117 /* translators: %s: Comment date. */ 118 printf( __( 'Submitted on: %s' ), '<b>' . $submitted . '</b>' ); 116 119 ?> 117 120 </span>
Note: See TracChangeset
for help on using the changeset viewer.