|
@@ 5347-5350 (lines=4) @@
|
| 5344 |
|
$input['params'] = $this->_setParams( $hour, array( 'VALUE' => 'DATE-TIME' )); |
| 5345 |
|
$hour = $min = $sec = $tz = FALSE; |
| 5346 |
|
} |
| 5347 |
|
if( isset( $input['params']['TZID'] )) { |
| 5348 |
|
$tz = null; |
| 5349 |
|
$input['params']['VALUE'] = 'DATE-TIME'; |
| 5350 |
|
} |
| 5351 |
|
$parno = $this->_existRem( $input['params'], 'VALUE', 'DATE', 3 ); |
| 5352 |
|
$hitval = ( !empty( $tz )) ? 7 : 6; |
| 5353 |
|
$parno = $this->_existRem( $input['params'], 'VALUE', 'DATE-TIME', $hitval, $parno, $parno ); |
|
@@ 5371-5372 (lines=2) @@
|
| 5368 |
|
elseif( isset( $input['params']['TZID'] )) |
| 5369 |
|
unset( $input['value']['tz'] ); |
| 5370 |
|
if( $localtime ) unset( $input['value']['tz'], $input['params']['TZID'] ); |
| 5371 |
|
if( isset( $input['value']['tz'] )) |
| 5372 |
|
$input['value']['tz'] = (string) $input['value']['tz']; |
| 5373 |
|
if( !empty( $input['value']['tz'] ) && ( 'Z' != $input['value']['tz'] ) && |
| 5374 |
|
( !$this->_isOffset( $input['value']['tz'] ))) |
| 5375 |
|
$input['params']['TZID'] = $input['value']['tz']; |