Check in and Check out Time format 24h

Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #1445214
    Rene Wandel
    Participant

    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, Rene

    #1446469
    J. Davis
    Keymaster

    Hi Rene,

    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.

    best regards,
    John Davis

    #1446609
    Rene Wandel
    Participant

    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é

    Screenshot Time

    #1447899
    J. Davis
    Keymaster

    Hi,

    It works on my local installation. Please check the screenshots:

    https://prntscr.com/oitBU3drAd3G
    https://prntscr.com/pmFsPcFt2dVk

    best regards,
    John Davis

    #1447955
    Rene Wandel
    Participant

    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é

Viewing 5 posts - 1 through 5 (of 5 total)
  • You must be logged in to reply to this topic.