Changes between Version 1 and Version 2 of Ticket #49038, comment 15
- Timestamp:
- 12/23/2019 04:34:32 AM (5 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #49038, comment 15
v1 v2 15 15 $tzstring = 'UTC+' . $current_offset; 16 16 } 17 } elseif ( 0 == $current_offset) {17 } elseif ( 'UTC' == $tzstring ) { 18 18 $check_zone_info = false; 19 $tzstring = 'UTC';20 19 } 21 20 … … 62 61 <?php endif; ?> 63 62 64 <?php if ( $check_zone_info && $ current_offset) : ?>63 <?php if ( $check_zone_info && $tz_string ) : ?> 65 64 <p class="timezone-info"> 66 65 <span> … … 97 96 '<code>' . wp_date( __( 'F j, Y' ) . ' ' . __( 'g:i a' ), $utc, new DateTimeZone( 'UTC' ) ) . '</code>' 98 97 ); 99 } else {98 } elseif ( $current_offset ) { 100 99 _e( 'This timezone does not observe daylight saving time.' ); 101 100 }