The times that are showing up on my appointment form are in military time. However, I'd really like them to show in standard time. My website settings are set to standard time and I don't see anywhere in Amelia where to change this.
You can see my Wordpress time settings in the attachment.
I can't say why you're seeing the 24-hour format, because when I test this locally, it works fine:
Please provide me a temporary WP-admin login for your site where this happens, so we could log in and take a look ‘from the inside’ as that’s the most efficient way to see and resolve the issue. We do not interfere with any data or anything else except for the plugin (in case that’s a production version of the site), and of course we do not provide login data to third party.
You can write credentials here just check Private Reply so nobody can see them except us.
I completely missed the fact that you're missing ending times of the appointment, so I checked the page and saw you were using this script on the page:
<script>setInterval(function () {
var elements = document.getElementsByClassName('el-radio-button__orig-radio');
var appointment_times = document.getElementsByClassName('el-radio-button__inner');
for (var i = 0; i < elements.length; i++) {
appointment_times[i].innerHTML = elements[i].value;
}
}, 1000)</script>
That's not going to work with 12-hour format. I tried to remove it, but it didn't bring back the ending times, so you probably have that JS added somewhere else also. I only removed that, but somehow the Employee selection option is now back (I did not touch anything else, so I don't know how that came back). You'll need to hide the employee selection again, and then replace the JS with this one:
<script> var parseAmeliaSlots = function () { let elements = document.getElementById('am-calendar-picker').getElementsByClassName('el-radio-button__inner') if (elements.length) { for (let i = 0; i < elements.length; i++) { let valueParts = elements[i].innerHTML.split(' - ') if (valueParts.length === 2) { elements[i].innerHTML = valueParts[1] } } } } window.afterBookingSelectService = function () { window.ameliaInterval = setInterval(parseAmeliaSlots, 500) } window.afterBookingSelectDateAndTime = function () { clearInterval(window.ameliaInterval) } </script>
When you replace the scripts everywhere the initial one is added, you will remove end times, and the time format will be the 12-hour format.
The times that are showing up on my appointment form are in military time. However, I'd really like them to show in standard time. My website settings are set to standard time and I don't see anywhere in Amelia where to change this.
You can see my Wordpress time settings in the attachment.
Hello Sarah
I can't say why you're seeing the 24-hour format, because when I test this locally, it works fine:
Please provide me a temporary WP-admin login for your site where this happens, so we could log in and take a look ‘from the inside’ as that’s the most efficient way to see and resolve the issue. We do not interfere with any data or anything else except for the plugin (in case that’s a production version of the site), and of course we do not provide login data to third party.
You can write credentials here just check Private Reply so nobody can see them except us.
Kind Regards,
Aleksandar Vuković
[email protected]
Rate my support
wpDataTables: FAQ | Facebook | Twitter | Instagram | Front-end and back-end demo | Docs
Amelia: FAQ | Facebook | Twitter | Instagram | Amelia demo sites | Docs | Discord Community
You can try wpDataTables add-ons before purchasing on these sandbox sites:
Powerful Filters | Gravity Forms Integration for wpDataTables | Formidable Forms Integration for wpDataTables | Master-Detail Tables
Thanks, Sarah
I completely missed the fact that you're missing ending times of the appointment, so I checked the page and saw you were using this script on the page:
That's not going to work with 12-hour format. I tried to remove it, but it didn't bring back the ending times, so you probably have that JS added somewhere else also. I only removed that, but somehow the Employee selection option is now back (I did not touch anything else, so I don't know how that came back). You'll need to hide the employee selection again, and then replace the JS with this one:
When you replace the scripts everywhere the initial one is added, you will remove end times, and the time format will be the 12-hour format.
Kind Regards,
Aleksandar Vuković
[email protected]
Rate my support
wpDataTables: FAQ | Facebook | Twitter | Instagram | Front-end and back-end demo | Docs
Amelia: FAQ | Facebook | Twitter | Instagram | Amelia demo sites | Docs | Discord Community
You can try wpDataTables add-ons before purchasing on these sandbox sites:
Powerful Filters | Gravity Forms Integration for wpDataTables | Formidable Forms Integration for wpDataTables | Master-Detail Tables
Thanks so much for your help!
You're welcome, Sarah
If you have any further questions or issues, please feel free to open a new ticket, and we'll gladly help.
Kind Regards,
Aleksandar Vuković
[email protected]
Rate my support
wpDataTables: FAQ | Facebook | Twitter | Instagram | Front-end and back-end demo | Docs
Amelia: FAQ | Facebook | Twitter | Instagram | Amelia demo sites | Docs | Discord Community
You can try wpDataTables add-ons before purchasing on these sandbox sites:
Powerful Filters | Gravity Forms Integration for wpDataTables | Formidable Forms Integration for wpDataTables | Master-Detail Tables