Hey everyone!

With the Labour Day holidays coming up, we’d like to let you know about our upcoming working hours:

Thursday, May 1st: Our team will be off during Labour Day.
Friday, May 2nd: We'll also be off for an extended holiday break.

We’ll be back on Monday, May 5th, ready to respond to all messages received during this time.

In the meantime, if you need help, feel free to:

https://www.youtube.com/@AmeliaWordPressBookingPlugin/videos

https://www.youtube.com/@wpDataTables/videos

Thank you for being so understanding, and we hope you enjoy the long weekend! 

Okay
  Public Ticket #2769523
Time selector 12-hour format
Closed

Comments

  • elaine started the conversation

    I noticed your javascript code formats all time elements based on hh:mm:ss on the backend.

    Please include an option for those of us who use the 12-hour time format to have the hh:mm:ss tt (am/pm) format. It is very difficult for my clients to use the way it currently works.

    Instead of hardcoding "hh:mm:ss" in your javascript files, why not add a variable defined by the user selection in admin or the default set in WordPress.

    You've already implemented this in the front end in SettingsStorage.php: 'timeFormat'     => 'time_format' 

    ...using the Wordpress time_format option. You apply it in your booking front end: this.$root.settings.wordpress.timeFormat 

    If you could bring this same feature into amelia-booking.js backend it would be greatly appreciated. I know you'll have to convert back to hh:mm:ss when you save to amelia_events_periods in the database...but that should be simple to do.

    thanks

  • [deleted] replied

    Hi, Elaine!

    Sorry for the delayed response.

    Yes, that's correct: there's only one option for time format on the back-end at the moment. 

    I will forward your request to our development team. Also, you can suggest that as a feature request here, or check if this request was already submitted and vote for it. 

    Please let us know if you have any other questions.

    Best regards.