|
@@ 238-240 (lines=3) @@
|
| 235 |
|
} else { |
| 236 |
|
$noop = true; |
| 237 |
|
} |
| 238 |
|
} else { |
| 239 |
|
$recurring_event_date_start = date( 'Ymd', strtotime( '+ ' . ( $interval * $catchup ) . ' days', strtotime( $event['DTSTART'] ) ) ) . date( '\THis', strtotime( $event['DTSTART'] ) ); |
| 240 |
|
} |
| 241 |
|
} |
| 242 |
|
break; |
| 243 |
|
|
|
@@ 267-269 (lines=3) @@
|
| 264 |
|
} else { |
| 265 |
|
$noop = true; |
| 266 |
|
} |
| 267 |
|
} else { |
| 268 |
|
$recurring_event_date_start = date( 'Ymd', strtotime( '+ ' . ( $interval * $catchup ) . ' weeks', strtotime( $event['DTSTART'] ) ) ) . date( '\THis', strtotime( $event['DTSTART'] ) ); |
| 269 |
|
} |
| 270 |
|
} |
| 271 |
|
|
| 272 |
|
// Set to Sunday start |
|
@@ 305-307 (lines=3) @@
|
| 302 |
|
$catchup++; |
| 303 |
|
} |
| 304 |
|
$recurring_event_date_start = date( 'Ymd', strtotime( $event_date_desc . date( 'F Y', strtotime( '+ ' . ( $interval * ( $catchup - 1 ) ) . ' months', strtotime( $event['DTSTART'] ) ) ) ) ) . date( '\THis', strtotime( $event['DTSTART'] ) ); |
| 305 |
|
} else { |
| 306 |
|
$recurring_event_date_start = date( 'Ymd', strtotime( $event_date_desc . date( 'F Y', $current ) ) ) . date( '\THis', strtotime( $event['DTSTART'] ) ); |
| 307 |
|
} |
| 308 |
|
|
| 309 |
|
// Add one interval if necessary |
| 310 |
|
if ( strtotime( $recurring_event_date_start ) < $current ) { |