Site logo

[Resolved] I want to change date format

Home Forums Support [Resolved] I want to change date format

Home Forums Support I want to change date format

Viewing 12 posts - 1 through 12 (of 12 total)
  • Author
    Posts
  • #2565440
    KWANGHO

    hi.
    I am using generatepress newsroom. Now the post date is ‘yyyy-mm-dd’, but I want to change the date format to yyyy-mm-dd hh-mm-ss.
    Can I change it using childtheme or function? Not using plugins.

    #2565454
    Fernando
    Customer Support

    Hi Kwangho,

    You can change the date format in Settings > General in your admin dashboard.

    #2565470
    KWANGHO

    Thanks for the reply. already made that change but the value shown in the post header is only yyyy-mm-dd.

    date format

    #2565480
    Fernando
    Customer Support

    Try: Y/m/d h:m:s

    #2565491
    KWANGHO

    Even if I change the format, it still shows ‘yyyy-mm-dd’. The ‘hh:ss’ value doesn’t appear in the post.
    I want ‘yyyy-mm-ss hh:mm’ to come out like the image attached.

    date format

    #2565498
    Fernando
    Customer Support

    I see. For reference, can you provide the link to the site in question?

    You may use the Private Information field for this: https://docs.generatepress.com/article/using-the-premium-support-forum/#private-information

    #2565510
    KWANGHO

    yes thank you attached!

    #2565524
    Fernando
    Customer Support

    That’s odd. Can you provide admin login credentials so we can take a closer look?

    Please use the Private Information field for this: https://docs.generatepress.com/article/using-the-premium-support-forum/#private-information

    #2565530
    KWANGHO

    ok i added

    #2565564
    Fernando
    Customer Support

    It’s still just set to Y.m.d upon checking. Can you change it first?

    #2565589
    KWANGHO

    Oh my god.. that’s what you said. I didn’t change the date format but changed the time format and thought I got it right. It’s a shame that it was so simple. Thank you.

    #2565604
    Fernando
    Customer Support

    You’re welcome, Kwangho!

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