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