Home
Documentation
Downloads
Demo
Tracker
Development
Translation
Moodle.net
Search
projects
/
moodle.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d2d6171
)
Tiny fix so that when today is specified, it's selected in the list
author
martin
<martin>
Tue, 11 Jun 2002 04:28:01 +0000
(
04:28
+0000)
committer
martin
<martin>
Tue, 11 Jun 2002 04:28:01 +0000
(
04:28
+0000)
course/lib.php
patch
|
blob
|
blame
|
history
diff --git
a/course/lib.php
b/course/lib.php
index
2cd94ca
..
f6f4f9d
100644
(file)
--- a/
course/lib.php
+++ b/
course/lib.php
@@
-38,7
+38,7
@@
function print_log_selector_form($course, $selecteduser=0, $selecteddate="today"
$timenow = time(); // GMT
// What day is it now for the user, and when is midnight that day (in GMT).
- $timemidnight = usergetmidnight($timenow);
+ $timemidnight =
$today =
usergetmidnight($timenow);
// Put today up the top of the list
$dates = array("$timemidnight" => "Today, ".userdate($timenow, "j F Y") );