summaryrefslogtreecommitdiffstats
path: root/templates
diff options
context:
space:
mode:
Diffstat (limited to 'templates')
-rw-r--r--templates/show_recently_played.inc.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/templates/show_recently_played.inc.php b/templates/show_recently_played.inc.php
index a1b08604..f91f71de 100644
--- a/templates/show_recently_played.inc.php
+++ b/templates/show_recently_played.inc.php
@@ -59,7 +59,7 @@ show_box_top(_('Recently Played') . $link, 'box box_recently_played');
$unit = 'minutes';
}
else if ($interval < 86400) {
- $interval = floor($interval / 60);
+ $interval = floor($interval / 3600);
$unit = 'hours';
}
else if ($interval < 604800) {