Changeset 35438
- Timestamp:
- 10/30/2015 12:51:03 AM (10 years ago)
- File:
-
- 1 edited
-
trunk/src/wp-admin/options-general.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-admin/options-general.php
r35411 r35438 202 202 echo ' '; 203 203 $message = $tr['isdst'] ? 204 __('Daylight saving time begins on: <code>%s</code>.') : 205 __('Standard time begins on: <code>%s</code>.'); 204 /* translators: %s: date and time */ 205 __( 'Daylight saving time begins on: %s.') : 206 /* translators: %s: date and time */ 207 __( 'Standard time begins on: %s.' ); 206 208 // Add the difference between the current offset and the new offset to ts to get the correct transition time from date_i18n(). 207 printf( $message, date_i18n(get_option('date_format') . ' ' . get_option('time_format'), $tr['ts'] + ($tz_offset - $tr['offset']) ) ); 209 printf( $message, 210 '<code>' . date_i18n( 211 get_option( 'date_format' ) . ' ' . get_option( 'time_format' ), 212 $tr['ts'] + ( $tz_offset - $tr['offset'] ) 213 ) . '</code>' 214 ); 208 215 } else { 209 _e( 'This timezone does not observe daylight saving time.');216 _e( 'This timezone does not observe daylight saving time.' ); 210 217 } 211 218 }
Note: See TracChangeset
for help on using the changeset viewer.