Free and Premium WordPress Plugins & Themes Forums WordPress Plugins Hotel Booking Hotel Booking Checkout Fields Check in and Check out Time format 24h
- This topic has 4 replies, 2 voices, and was last updated 1 month, 1 week ago by Rene Wandel.
- April 21, 2023 at 1:21 pm #1445214Rene WandelParticipant
Hello your dear Motopress team,
Is there a way to format the output of the check in and check out time in 24 hours via the child theme’s functions.php?
Check in: 10 am and Check out: 3:00 pm in
Check in: 10:00 and Check out: 15:00 (24 hours)
Thank you, ReneApril 25, 2023 at 3:57 am #1446469J. DavisKeymaster
Thanks for your question. The date and time format are inherited from the general WordPress settings at Settings > General. You can select another time format there.
John DavisApril 25, 2023 at 10:24 am #1446609Rene WandelParticipant
Hi John, thanks for the reply. I know the information and have also made the adjustment. But I mean the time format in the frontend. (Reservation) See screenshot. Do you have any idea? Not 03:00pm but 15:00
Best regards, RenéApril 28, 2023 at 5:08 am #1447899J. DavisKeymaster
It works on my local installation. Please check the screenshots:
John DavisApril 28, 2023 at 7:19 am #1447955Rene WandelParticipant
Hi John, so damn simple. I didn’t think of that at all. That’s magic. Thank you for your idea. It works. Have a nice weekend,
best regards, René
- You must be logged in to reply to this topic.