diff --git a/modules/statistics/www/showstats.php b/modules/statistics/www/showstats.php index 9c26c65aa0e7bf2c14b7d367311b3bcb3965d9cf..cfb664e7b1511a48f3ef81df3ba9e0cf3f27502b 100644 --- a/modules/statistics/www/showstats.php +++ b/modules/statistics/www/showstats.php @@ -129,9 +129,7 @@ foreach($results AS $slot => $res) { $i++; } #echo 'set axis on lastslot [' . $lastslot . ']'; -$axis[] = date($dateformat_intra, ($lastslot*$slotsize) + $slotsize - $offset); -#echo "<p> ". ($lastslot+1) . " = " . date($dateformat_intra, (($lastslot+1)*$slotsize - $offset) ) . " "; - +$axis[] = $datehandler->prettyDateSlot($lastslot+1, $slotsize, $dateformat_intra); #print_r($axis);