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.