|
@@ 2977-2978 (lines=2) @@
|
| 2974 |
|
if( $utctime ) |
| 2975 |
|
unset( $rdatePart[0]['tz'] ); |
| 2976 |
|
$formatted = $this->_format_date_time( $rdatePart[0]); // PERIOD part 1 |
| 2977 |
|
if( $utctime || !empty( $theRdate['params']['TZID'] )) |
| 2978 |
|
$formatted = str_replace( 'Z', '', $formatted); |
| 2979 |
|
if( 0 < $rpix ) { |
| 2980 |
|
if( !empty( $rdatePart[0]['tz'] ) && $this->_isOffset( $rdatePart[0]['tz'] )) { |
| 2981 |
|
if( 'Z' != substr( $formatted, -1 )) $formatted .= 'Z'; |
|
@@ 3004-3005 (lines=2) @@
|
| 3001 |
|
if( $utctime ) |
| 3002 |
|
unset( $rdatePart[1]['tz'] ); |
| 3003 |
|
$formatted = $this->_format_date_time( $rdatePart[1] ); // PERIOD part 2 |
| 3004 |
|
if( $utctime || !empty( $theRdate['params']['TZID'] )) |
| 3005 |
|
$formatted = str_replace( 'Z', '', $formatted); |
| 3006 |
|
if( !empty( $rdatePart[0]['tz'] ) && $this->_isOffset( $rdatePart[0]['tz'] )) { |
| 3007 |
|
if( 'Z' != substr( $formatted, -1 )) $formatted .= 'Z'; |
| 3008 |
|
} |
|
@@ 3021-3022 (lines=2) @@
|
| 3018 |
|
if( $utctime ) |
| 3019 |
|
unset( $rdatePart['tz'] ); |
| 3020 |
|
$formatted = $this->_format_date_time( $rdatePart); |
| 3021 |
|
if( $utctime || !empty( $theRdate['params']['TZID'] )) |
| 3022 |
|
$formatted = str_replace( 'Z', '', $formatted); |
| 3023 |
|
if( !$utctime && ( 0 < $rpix )) { |
| 3024 |
|
if( !empty( $theRdate['value'][0]['tz'] ) && $this->_isOffset( $theRdate['value'][0]['tz'] )) { |
| 3025 |
|
if( 'Z' != substr( $formatted, -1 )) |