-
Bug
-
Resolution: Fixed
-
Minor
-
None
-
2.0
-
None
-
Easy
-
MOODLE_20_STABLE
When calculating current system time the current daylight savings offset is not taken into consideration.
Attached patch addresses this.
Steps to reproduce:
- Set your local timezone to America/New_York.
- Set the Moodle instance timezone to America/New York.
- Install the block.
- Verify that your local and system times match.