get( 'events' ), $event ); if ( ! $should_have_time_separator || ! empty( $event->timeslot ) ) { return; } $event_start_hour = strtotime( Dates::round_nearest_half_hour( $event->dates->start_display->format( Dates::DBDATETIMEFORMAT ) ) ); // Format to WP format $separator_text = date_i18n( tribe_get_time_format(), $event_start_hour ); $time_attribute = date_i18n( 'H:i', $event_start_hour ); ?>