summaryrefslogtreecommitdiffstats
path: root/templates/show_recently_played.inc.php
diff options
context:
space:
mode:
Diffstat (limited to 'templates/show_recently_played.inc.php')
-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 3693dc27..e30ee53e 100644
--- a/templates/show_recently_played.inc.php
+++ b/templates/show_recently_played.inc.php
@@ -35,7 +35,7 @@ $time_unit = array('',_('seconds ago'),_('minutes ago'),_('hours ago'),_('days a
<?php foreach ($data as $row) {
$row_user = new User($row['user']);
$song = new Song($row['object_id']);
- $amount = intval(time() - $row['date']);
+ $amount = intval(time() - $row['date']+2);
$time_place = '0';
while ($amount >= 1) {