Changes between Version 2 and Version 3 of Ticket #49038, comment 15
- Timestamp:
- 12/23/2019 02:07:09 PM (5 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #49038, comment 15
v2 v3 83 83 if ( ! empty( $transitions[1] ) ) { 84 84 echo ' '; 85 // Create timestamp UTC +- for display Daylight saving time or Standard time. 86 $utc = ( $transitions[0]['offset'] ) > 0 ? 87 $transitions[1]['ts'] + $transitions[0]['offset'] : 88 $transitions[1]['ts'] - $transitions[0]['offset']; 85 // Create timestamp UTC +- ( ex. 2+-1=1 or 2++1=3 ) for display Daylight saving time or Standard time. 86 $utc = $transitions[1]['ts'] + $transitions[0]['offset']; 89 87 $message = $transitions[1]['isdst'] ? 90 88 /* translators: %s: Date and time. */