By Fidel Carrera on Monday, 13 June 2016
Posted in Technical Issues
Likes 0
Views 850
Votes 0
Hi,

A while ago mark posted a solution on how to show the actual time stamp for my forum replies. The issue is that I'm a php noob and I'm not sure how to modify the string.


Mark replied on Thursday, May 19 2016, 11:16 PM Accepted Answer Quote Edit
Hey Fidel,

I am sorry but this is not configurable currently. If you need to, you can edit the theme file in /components/com_easydiscuss/themes/wireframe/post/default.reply.item.php and replace the codes below,


<?php echo $post->getDuration(); ?>
view rawReply #270889 hosted with ❤ by GitHub

Any help would be greatly appreciated.

Thanks again.
Hi Fidel Carrera,

I am sorry for the delay of this reply. Can you replace the codes that you mention above with:
<?php echo ED::date($post->created)->format('d F Y'); ?>

and see how it goes?

Have a nice day ahead
·
Monday, 13 June 2016 11:17
·
0 Likes
·
0 Votes
·
0 Comments
·
Hi,

Ive added a bit more to it and it works like a charm. Thanks guys!!!!!!

<?php echo ED::date($post->created)->format('d F Y h:i:s A'); ?>
·
Monday, 13 June 2016 22:16
·
0 Likes
·
0 Votes
·
0 Comments
·
Hi there,

You are most welcome. Glad to hear that your issue has been resolved now.

As a gentle reminder, kindly start a new thread if you have any other issue in the future so it will be easier for us to manage your inquiry. I will lock and mark this thread as resolved.
·
Monday, 13 June 2016 23:06
·
0 Likes
·
0 Votes
·
0 Comments
·
View Full Post