Support » Plugin: Pods - Custom Content Types and Fields » How to format a datetime in a pods display

  • Resolved bryanhiggs


    As you can see from the provided link, I am displaying church services with a service date. Unfortunately, the datetime isn’t formatted in the way I specified in the site’s WordPress settings. I would like it be displayed like:

    January 6, 2019 – 10:30 am

    (the way it is configured in WordPress) instead of:

    01/06/2019 10:30am

    How might I accomplish that?

    My template currently looks like:

    <h4><time>{@service_date}</time> -- {@speakers.post_title}</h4>

    I added the <time> tag, but other than being a semantic thing, it doesn’t seem to provide anything useful, at least in my browser.

    I’d prefer to avoid writing PHP, although if I have to, I have to. But that would force me into using a child theme.

    Help and suggestions welcomed!


    The page I need help with: [log in to see the link]

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author Jim True


    Did you check the display formats in the Additional Options tab for your date fields? That’s how you change the display configuration of Date/Time to match your WordPress date format or to be shown in a different format.

    Thanks for the very prompt response, Jim!

    I had missed that in your interface. Thanks for pointing it out. It worked like a dream!

    Much appreciated!

    Plugin Author Jim True


    Glad to hear that worked 🙂

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘How to format a datetime in a pods display’ is closed to new replies.