@@ 962-966 (lines=5) @@ | ||
959 | $component2 = $component->copy(); |
|
960 | $rstart = $component2->_timestamp2date( $recurkey, 6); |
|
961 | $datevalue = $rstart['month'].'/'.$rstart['day'].'/'.$rstart['year']; |
|
962 | if( isset( $start['hour'] ) || isset( $start['min'] ) || isset( $start['sec'] )) { |
|
963 | $datevalue .= ( isset( $rstart['hour'] )) ? ' '.$rstart['hour'] : ' 00'; |
|
964 | $datevalue .= ( isset( $rstart['min'] )) ? ':'.$rstart['min'] : ':00'; |
|
965 | $datevalue .= ( isset( $rstart['sec'] )) ? ':'.$rstart['sec'] : ':00'; |
|
966 | } |
|
967 | $datestring = date( $startDateFormat, strtotime( $datevalue )); |
|
968 | if( isset( $start['tz'] )) |
|
969 | $datestring .= ' '.$start['tz']; |
|
@@ 979-983 (lines=5) @@ | ||
976 | } |
|
977 | else { |
|
978 | $datevalue = $rend['month'].'/'.$rend['day'].'/'.$rend['year']; |
|
979 | if( isset( $end['hour'] ) || isset( $end['min'] ) || isset( $end['sec'] )) { |
|
980 | $datevalue .= ( isset( $rend['hour'] )) ? ' '.$rend['hour'] : ' 00'; |
|
981 | $datevalue .= ( isset( $rend['min'] )) ? ':'.$rend['min'] : ':00'; |
|
982 | $datevalue .= ( isset( $rend['sec'] )) ? ':'.$rend['sec'] : ':00'; |
|
983 | } |
|
984 | } |
|
985 | $datestring = date( $endDateFormat, strtotime( $datevalue )); |
|
986 | if( isset( $end['tz'] )) |