Skip to content
Snippets Groups Projects
Commit e5ff9eda authored by Andreas Åkre Solberg's avatar Andreas Åkre Solberg
Browse files

fix statistics axis labelling

git-svn-id: https://simplesamlphp.googlecode.com/svn/trunk@1004 44740490-163a-0410-bde0-09ae8108e29a
parent c987dc9d
No related branches found
No related tags found
No related merge requests found
...@@ -129,9 +129,7 @@ foreach($results AS $slot => $res) { ...@@ -129,9 +129,7 @@ foreach($results AS $slot => $res) {
$i++; $i++;
} }
#echo 'set axis on lastslot [' . $lastslot . ']'; #echo 'set axis on lastslot [' . $lastslot . ']';
$axis[] = date($dateformat_intra, ($lastslot*$slotsize) + $slotsize - $offset); $axis[] = $datehandler->prettyDateSlot($lastslot+1, $slotsize, $dateformat_intra);
#echo "<p> ". ($lastslot+1) . " = " . date($dateformat_intra, (($lastslot+1)*$slotsize - $offset) ) . " ";
#print_r($axis); #print_r($axis);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment