bookingactivities / booking-activities

Wordpress plugin booking system
GNU General Public License v3.0
29 stars 10 forks source link

24 hours time is mixed with 12 hours time #192

Closed rayedgar closed 1 year ago

rayedgar commented 1 year ago

The calendar is set with 12 hours time. But when selected it shows the activity in 12 hours time?

Screenshot 2023-04-10 at 08 49 13 Screenshot 2023-04-10 at 08 44 47
yoancutillas commented 1 year ago

Hello Ray,

The calendar time format is based on the "Site language" in Settings > General. You can

The time format in the other texts are based on the settings in Booking Activities > Settings > Messages tab > "Complete date and time format.", "Short date and time format." and "Time format.".

rayedgar commented 1 year ago

Im afraid it does not work. Using a general shortcode for time date it outputs as it should with the WP time format. deactivated all plugins except BA and woo. its a new setup Site with more addons from You: https://theceramiccentre.com

Screenshot 2023-04-11 at 14 33 34 Screenshot 2023-04-11 at 14 31 16 Screenshot 2023-04-11 at 14 30 41
yoancutillas commented 1 year ago

The time format in the calendar looks 24h, Now if you want the other texts time format to be 24h, you need to change these options: Booking Activities > Settings > Messages tab > (for example):

rayedgar commented 1 year ago

Although the activity are 24 hours. The selected text which show the extra info there the time is shown in 12 hour (AM PM

yoancutillas commented 1 year ago

Can you confirm that you have set the values given in my previous post for the "Complete date and time format", "Short date and time format", and "Time format" options?

In that case, if you are using a caching tool, please try to clear your cache.

If the problem still occurs, I will need an adminsitrator access to the website or a development website where I can reproduce the issue (at contact@booking-activities.fr) to debug it.

rayedgar commented 1 year ago

Hi,

I tried all of the three suggested time notifications. caching flushed. I will sent you an administrator access

Many thanks!

Op 13 apr. 2023 12:23, om 12:23, yoancutillas @.***> schreef:

Can you confirm that you have set the values given in my previous post for the "Complete date and time format", "Short date and time format", and "Time format" options?

In that case, if you are using a caching tool, please try to clear your cache.

If the problem still occurs, I will need an adminsitrator access to the website or a development website where I can reproduce the issue (at @.***) to debug it.

-- Reply to this email directly or view it on GitHub: https://github.com/bookingactivities/booking-activities/issues/192#issuecomment-1506721617 You are receiving this because you authored the thread.

Message ID: @.***>

yoancutillas commented 1 year ago

Thank you, Can you please set these exact values to these options and try again? Booking Activities > Settings > Messages tab: "Complete date and time format" = l, F j, Y H:i "Short date and time format" = M, j - H:i "Time format" = H:i

booking-activities-messages-fields

rayedgar commented 1 year ago

That works! and made sense. Thank you!