Jump to content

How to change from relative to absolute dates


vbnautilus
 Share

Recommended Posts

  • 1 year later...
On 4/21/2015 at 9:24 AM, vbnautilus said:

The date/time posted on each post seems to now be relative by default (e.g. "Posted 3 hours ago").  Is there a way to change this to absolute time stamps?

We want to change relative to absolute dates too, e.g. "Posted 12 hours ago" to "07/13/2016 08:42 AM". I have found the following code in the template:

{$comment->dateLine()|raw}

Anything we tried to change here, it didn't work as expected. What can we do?

Link to comment
Share on other sites

  • 2 years later...
  • 11 months later...
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...