Skip to content

Commit

Permalink
Merge pull request #1948 from tomudding/fix/time-diff-calculation
Browse files Browse the repository at this point in the history
fix: also show hours for clarity
  • Loading branch information
tomudding authored Dec 20, 2024
2 parents 09dcdc1 + 744b7d8 commit 6eee2da
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion module/Application/src/View/Helper/TimeDiff.php
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ public function __invoke(
$units = ['hour', 'minute'];
}
} else {
$units = ['year', 'month', 'week', 'day'];
$units = ['year', 'month', 'week', 'day', 'hour'];
}

foreach ($units as $unit) {
Expand Down

0 comments on commit 6eee2da

Please sign in to comment.