1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

XF 1.2 How do I display the time in all postbit post time stamps?

Discussion in 'Styling and Customization Questions' started by Stuart Wright, Sep 13, 2013.

  1. Stuart Wright

    Stuart Wright Well-Known Member

    For older dates, it only displays the date. How can I make it display the time also?
    Thanks
     
    Andrej, Adam Howard and 0ptima like this.
  2. Jon W

    Jon W Well-Known Member

    In the template post, replace:
    HTML:
    <xen:datetime time="$post.post_date" />
    with:
    HTML:
    {xen:datetime {$post.post_date}, 'absolute'}
     
  3. Stuart Wright

    Stuart Wright Well-Known Member

    Perfect, thank you :)
     
    Jon W and Adam Howard like this.

Share This Page