BuddyPress Notifications Page – Date and Time Format – How to Customize the Time
-
In notifications-loop.php,
<?php bp_the_notification_time_since(); ?>
displays the time format as1 day, 9 hours ago
. This method of displaying the time and date is different from anything else on a WordPress/BuddyPress site. When viewing my site on mobile, this method of displaying the time and date looks horrible.Can someone please point me in the right direction to change this? Instead of the time/date format reading
1 day, 9 hours ago
, I’d like to shorten it to1d
. I’m assuming that a custom filter can be created to archive this but I’ve been looking for months and cannot find any real help with this anywhere. Any guidance on this would be greatly appreciated.Thank you.
- You must be logged in to reply to this topic.