mirror of
https://github.com/moodle/moodle.git
synced 2025-08-05 00:46:50 +02:00
Fixed up the graphs (one for userday and they are also now correct for timezones)
This commit is contained in:
parent
cbd1170e91
commit
394933864c
2 changed files with 39 additions and 8 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue