$event['ticket_url'] = 'http://' . $event['ticket_url'];
}
}
- if ( $event['recurrences'][0]['recurring']['value'] ) {
- $nextDate = $this->getNextDate( $event['id'], $fromDate );
- $event['dates'] = ( $nextDate )
- ? strftime( '%b %e, %Y', strtotime( $nextDate ) )
- : strftime( '%b %e, %Y', strtotime( $event['ending_date'] ) );
- } else {
+ //if ( $event['recurrences'][0]['recurring']['value'] ) {
+ // $nextDate = $this->getNextDate( $event['id'], $fromDate );
+ // $event['dates'] = ( $nextDate )
+ // ? strftime( '%b %e, %Y', strtotime( $nextDate ) )
+ // : strftime( '%b %e, %Y', strtotime( $event['ending_date'] ) );
+ //} else {
$event['dates'] = $this->getEventDate(
strtotime( $event['starting_date'] ),
strtotime( $event['ending_date'] ),
'timestamp'
);
- }
+ //}
$event['recurDays'] = $this->getEventRecurDays( $event ).' ';
$this->postAddTimes = false;
$this->postAddLocations = false;