Viewing 2 replies - 1 through 2 (of 2 total)
  • Hi David,
    1 go to in your plugin directory.
    2 open class-booking-shortcode.php file
    3 go to line number 101 and replace with this line

    timeFormat: <?php if($TimeFormat == ‘h:i’) echo “‘h:mma ‘”; else echo “‘H:mm ‘”; ?>,
    if it is help full let me know
    Thanks
    Abhishek

    This does not fix the emails by the way. There is a small problem in ‘notification-class.php’ which deals with formatting the start and end times according to the timezone.

    I have replaced the

    //calculate time according to timezone difference section

    section of

    //notify client

    with a copy of the admin code which works fine (for me at least and I am GMT+1)

    $BookingTime = date($TimeFormat, strtotime($ClassData->start_time))." - ".date($TimeFormat, strtotime($ClassData->end_time));
Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Times showing twice on frontend’ is closed to new replies.