Skip to content

Commit

Permalink
Added info comment to TimeAgo
Browse files Browse the repository at this point in the history
  • Loading branch information
buddh4 committed Oct 26, 2020
1 parent f48a09b commit cceacfd
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions widgets/TimeAgo.php
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ class TimeAgo extends \humhub\widgets\TimeAgo

public function renderDateTime($elapsed)
{
// TODO: From HumHub 1.7 the timeAgoHideTimeAfter can be configured within the widget
// Assure time is always set
if(isset(Yii::$app->params['formatter']['timeAgoHideTimeAfter'])) {
$timeAgoHideTimeAfter = Yii::$app->params['formatter']['timeAgoHideTimeAfter'];
Expand Down

0 comments on commit cceacfd

Please sign in to comment.