On my WordPress site, I am using the human time difference for the post date. If you have a post that was posted 59 minutes ago
or under it appears as posted 1 min ago
, 5 mins ago
, or posted 35 mins ago
. Is there a way that I can change mins to minutes?
This is the code I have.
<div class="front-page-date">
<?php
echo human_time_diff( get_the_time('U'), current_time('timestamp') ) . ' ago';
?>
</div>