Home Forums General Issues Timepicker shows wrong time on front-end.


Timepicker shows wrong time on front-end.

  • I have a simple timepicker custom field named ‘event-time’.
    If I set the time to 7:00pm in the back end of a post, and call the field on the front-end like this…

    <?php the_field(‘event_time’); ?>

    The time reads as 1:00am.
    Why does a back-end 7:00pm show as 1:00am on the front-end?

    What am I doing wrong?

  • I am experiencing the exact same issue, it started recently with no changes in ACF. They were displaying correctly, for over a year before this point.

Viewing 2 posts - 1 through 2 (of 2 total)

You must be logged in to reply to this topic.

We use cookies to offer you a better browsing experience, analyze site traffic and personalize content. Read about how we use cookies and how you can control them in our Cookie Policy. If you continue to use this site, you consent to our use of cookies.