protected static function format_event( stdClass $event ) {

		$event->next_run          = get_date_from_gmt( date( 'Y-m-d H:i:s', $event->time ), self::$time_format );
		$event->next_run_gmt      = date( self::$time_format, $event->time );
		$event->next_run_relative = self::interval( $event->time - time() );
		$event->recurrence        = ( $event->schedule ) ? self::interval( $event->interval ) : 'Non-repeating';

		return $event;
	}
protected static function format_event( stdClass $event ) {

		$event->next_run          = get_date_from_gmt( date( 'Y-m-d H:i:s', $event->time ), self::$time_format );
		$event->next_run_gmt      = date( self::$time_format, $event->time );
		$event->next_run_relative = self::interval( $event->time - time() );
		$event->recurrence        = ( $event->schedule ) ? self::interval( $event->interval ) : 'Non-repeating';

		return $event;
	}
protected static function format_event ( stdClass $ event ) { $ event -> next_run = get_date_from_gmt ( date ( 'Y-m-d H:i:s' , $ event -> time ) , self :: $ time_format ) ; $ event -> next_run_gmt = date ( self :: $ time_format , $ event -> time ) ; $ event -> next_run_relative = self :: interval ( $ event -> time - time ( ) ) ; $ event -> recurrence = ( $ event -> schedule ) ? self :: interval ( $ event -> interval ) : 'Non-repeating' ; return $ event ; }
Callback function to format a cron event.

@param stdClass $event The event.
@return stdClass The formatted event object.
Callback function to format a cron event .