-
Bug
-
Resolution: Fixed
-
Major
-
2.1.5, 2.2.2, 2.3
-
MOODLE_21_STABLE, MOODLE_22_STABLE, MOODLE_23_STABLE
-
MOODLE_21_STABLE, MOODLE_22_STABLE
-
wip-mdl-32234
-
Note: turn debugging on.
Steps to reproduce:
- Log in as admin
- Edit profile and change timezone to UTC (Can be any other then server time)
- Browse users (Settings -> site administration -> Users -> accounts -> Browse list of users)
- Add some filter text and press "Add filter"
- notice will appear.
FYI:
This is happening because usergetdate returns mon in two digits and select.php use strict matching.
Solution:
In dateselector.php typecase $currentdate['mon'] on line 153.
(int) $currentdate['mon'];
- has a non-specific relationship to
-
MDL-27562 Timezone option not considered in dateselector and datetimeselector form element
-
- Closed
-