UPDATES EasyBlog 6.0.14 Released! Joomla 5.x and PHP 8.x compatible now!

Helpdesk

Your Time
Our Time
Response Time
24 — 48 hours
We strive to provide the fastest ever response possible. However, we are not super beings.

Allow at least 24 — 48 hours
  Support is offline
Our team is away during the weekend. Some answers may already be available on our documentation

Rest assured that we will get back to your posts as soon as the week starts!
  Support is offline
I was wondering if there is a way I can convert EasyBlog modules, perhaps even the components timestamp to timelapse as it was referred to in response to another one of my posts.

Basically, I would like my Blog posts to show up as

Published 5 Hours ago

instead of

June 15, 2017

I was hoping there would have been a way to tap into EasyDiscuss and how timestamps are able to be converted as shown in this post https://stackideas.com/forums/time-ago-format-show-post-time-as-5-minutes-hours-days-ago

I was hoping to be able to either convert the code from ED to EB that would look something like this


<?php echo JText::sprintf('COM_EASYBLOG_LAST_ACTIVITY_TIMELAPSE', EB::date()->toLapsed($post->modified)); ?>


That, or if there's a way to include a file from EasyDiscuss (similar to retrieving ES user info and displaying on third-party components) that would allow some type of manipulation of the EasyBlog timestamp code.

Hopefully this makes sense.

Simple and on point though, I'm just hoping to be able to display EasyBlog timestamps in this format 5 Hours Ago rather than the actual date June 15, 2017.

Thanks for your time and support.

Regards,
Chris
The replies under this section are restricted to logged in users or users with an active subscription with us