Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Slight fix for daily x-axis (nicer-looking numbers)

  • Loading branch information...
commit 58918d13dbb09a133ec2af280f46c1851e8c018c 1 parent 20cad2b
martin authored
Showing with 2 additions and 1 deletion.
  1. +2 −1  course/loggraph.php
3  course/loggraph.php
View
@@ -86,7 +86,8 @@
$logs[$i] = 0;
}
$logs[$i] = $logcount->count;
- $hours[$i] = userdate($timestart, "%I %p");
+ $hh = (int)userdate($timestart, "%I");
+ $hours[$i] = userdate($timestart, "$hh %p");
$i++;
$timestart = $timefinish;
}
Please sign in to comment.
Something went wrong with that request. Please try again.