-
Bug
-
Resolution: Duplicate
-
Minor
-
None
-
2.3, 2.3.1
-
MOODLE_23_STABLE
When you enrol user manually to a course alway appear a default time, for example: 00:00 or 12:00. This is not correct, and is important to know, not only the date of an enrolment, also the time.
FULL STEPS:
1) moodle/enrol/users.php?id=X
2) Enrol some user using manual method
3) On "Enrolment methods" column, you see date, and time is default.
I found a solution:
1) File: moodle/enrol/manual/ajax.php, line 105
2) Change this line:
$today = make_timestamp(date('Y', $today), date('m', $today), date('d', $today), 0, 0, 0);
with this one:
$today = make_timestamp(date('Y', $today), date('m', $today), date('d', $today), date('H', $today), date('i', $today), 0);
I have tested this solution, and its works!
- duplicates
-
MDL-30157 Allow users to start manual enrolments right now
-
- Closed
-
- has a non-specific relationship to
-
MDL-35078 End date for self enrolment is ambiguous on the bulk enrolment form
-
- Closed
-
- has been marked as being related by
-
MDL-37851 Wrong enrollment time in windows version of moodle
-
- Closed
-
- is duplicated by
-
MDL-47897 Date for manual enrolment false
-
- Closed
-