Fixed up the graphs (one for userday and they are also now correct for timezones)

This commit is contained in:
martin 2002-07-27 13:33:50 +00:00
parent cbd1170e91
commit 394933864c
2 changed files with 39 additions and 8 deletions

View file

@ -61,7 +61,7 @@
switch ($mode) {
case "today" :
echo "<HR><CENTER>";
print_log_graph($course, $user->id, "userday.png", usergetmidnight(time()) );
print_log_graph($course, $user->id, "userday.png", time() );
echo "</CENTER>";
print_log($course, $user->id, usergetmidnight(time()), "ORDER BY l.time DESC");
break;