The forum is here for legacy reasons. No new posts will be created. User registration is disabled! If you have any questions, please email us or check https://www.adultscriptpro.com for more details!
You are not logged in.
Hello all.
How can a i get a better date under video thumb?
I mean, if the video is less than one hour old, it shows (x)minutes ago, by if the vid is more than an hour old, it shows today.
I would love to have videos up to 24 hours old to show how many hours ago was published (i.e. 2 hours ago,13 hours ago,23 hours ago).
how can a achieve this?
Offline
In libraries/framework/date.php go to line 69:
return 'today';
Change that to:
return "$difference hours ago";
I didn't test it, but that should be it.
Offline
In libraries/framework/date.php go to line 69:
return 'today';
Change that to:
return "$difference hours ago";
I didn't test it, but that should be it.
Awesome THS, it works like a charm...
Thanks a lot for your help!
Offline