Jump to content

How to change from relative to absolute dates

Featured Replies

Posted

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 need this setting to .. do not want to use the relative one ...

  • 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?

  • 2 years later...

Have anybody found a solution for it?

  • 11 months later...

Kill me, but I need it too and I don't know what to do with that. I didn't found any setting in the ACP related to it.

  • Community Expert

Have a look a this guide here. I have not had a chance to study and test it yet, but it says in the title about changing the date format.

 

I know that. 😉

Archived

This topic is now archived and is closed to further replies.

Recently Browsing 0

  • No registered users viewing this page.