Jump to content

X hours ago vs. today/yesterday


Sonya*
 Share

Recommended Posts

In your theme template find this template:

Forums > front > topics > post

<a href='{$comment->item()->url()->setQueryString( array( 'do' => 'findComment', 'comment' => $comment->$idField ) )}' class='ipsType_blendLinks'>{$comment->dateLine()|raw}</a> 

Change this:

{$comment->dateLine()|raw}

To this:

{datetime="$comment->post_date" norelative="false"}

Unfortunately its not relative at all but it will give a visual absolute date.

Link to comment
Share on other sites

 Share

  • Recently Browsing   0 members

    No registered users viewing this page.

×
×
  • Create New...