• Resolved philippe3

    (@philippe3)


    Hello,

    I’ve a problem with [CP_APP_HOUR_BOOKING_LIST] and the starting date setting.
    First I test the plugin (free version) on a server and after a long testing all was ok.
    I install the plugin (always free version) on another server with the official website and there [CP_APP_HOUR_BOOKING_LIST] don’t display. Our calendar configured with date format dd/mm/yyyy and start date 06/11/2021 to 07/11/2021

    After a lot of testing I found this:
    -start with blank calendar
    -original default setting
    -date format mm/dd/YYYY
    -start date 0 ( calendar display start today 25th april 2021
    -after booking everythings ok and [CP_APP_HOUR_BOOKING_LIST] display booking
    If I set the date format to dd/mm/yyyy (that I want to use finally) everything is OK
    But if I set the start date to 06/11/2021 (exact format dd/mm/yyyy) and I book with this date or later:
    -[CP_APP_HOUR_BOOKING_LIST] display old booking (25th april 2021) but not the one dated on 06/11/2021
    Bookings are well in the schedule list or bookings ordres list.
    If I return to the default strat date setting 0, same status -[CP_APP_HOUR_BOOKING_LIST] display old booking (25th april 2021) but not the one dated on 06/11/2021

    I hope to be clear with this description.
    Many thanks
    Best regards

Viewing 9 replies - 1 through 9 (of 9 total)
  • Thread Starter philippe3

    (@philippe3)

    Sorry, more info
    plugin Version 1.2.97
    I redo the same testings on our testing server and it’s the same problem.

    Plugin Author codepeople

    (@codepeople)

    Hi,

    Please paste here the complete [CP_APP_HOUR_BOOKING_LIST] shortcode you are using, includig the “from” .. “to” filters applied. Example:

    [CP_APP_HOUR_BOOKING_LIST from="today" to="today +30 days" fields="DATE,TIME,email" calendar="1"]

    Thank you for using the plugin!

    Thread Starter philippe3

    (@philippe3)

    Thanks
    my calendar goes from 6 to 7 november 2021 and date format dd/mm/yyyy
    With from=”today” to=”today +250 days” it work
    Tried to use
    from=”06/11/2021″ to=”07/11/2021″ but don’t work
    But with
    from=”11/06/2021″ to=”11/06/2021″ it work
    the command work with date format mm/dd/yyyy and not the date format from the settings

    Plugin Author codepeople

    (@codepeople)

    Hi,

    Please update to the latest plugin version, it added better support for date formats in the lists.

    Thank you for the feedback!

    Thread Starter philippe3

    (@philippe3)

    Test new version, no change for me.
    [CP_APP_HOUR_BOOKING_LIST from=”today” to=”today +30 days” fields=”DATE,TIME,email” calendar=”1″] work only with date in format mm/dd/yyyy.
    My calendar have date formet dd/mm/yyyy in general settings.

    Plugin Author codepeople

    (@codepeople)

    Please check the shortcode characters. Example:

    If that isn’t the problem, I’ll need some screenshots to check the case more in detail. You can send the screenshots/info through the following contact page: https://apphourbooking.dwbooster.com/contact-us

    Thank you.

    Thread Starter philippe3

    (@philippe3)

    My appointment calendar goes from 6th to 7th november 2021
    In the general settings of my calendar, date format is dd/mm/yyyy (french).
    In my page, for the list display, I must use the date format mm/dd/yyyy (UK) to work.
    My selection command is [CP_APP_HOUR_BOOKING_LIST service=”6m” from=”11/06/2021″ to=”11/07/2021″ fields=”weekday,DATE,TIME,itemnumber,fieldname3,fieldname7″ calendar=”5″] and she works.

    The problem is why can’t I use, in the selection filter, the same date format as set in the general settings of the calendar.
    Best regards

    Plugin Author codepeople

    (@codepeople)

    Hi,

    OK, got it. We have just published and update that uses the selected date format for the lists. Please update to the version 1.3.06 or later and remember to check the date format in the list shortcode after the update.

    Thank you for the feedback!

    Thread Starter philippe3

    (@philippe3)

    Happy to help you !
    Best Regards to the team

Viewing 9 replies - 1 through 9 (of 9 total)

The topic ‘date format, start date’ is closed to new replies.