WooCommerce Bookings fix

<?php

// Temporary fix: add 2 seconds to the end data
// This appears to be a bug in WC Bookings itself

add_filter( 'woocommerce_booking_form_get_posted_data', function( $data ) {
    $data['_end_date'] += 2; // add 2 seconds
    return $data;
});