moodle/.upgradenotes/MDL-82041-2024053011364585.yml
Paul Holden a33e54c08f
MDL-82041 reportbuilder: switch time-sensitive code to new Clock API.
Where current implementation, and more specifically tests, rely on the
current time then replace that with the PSR-20 Clock from 298c13ac3b.

Applicable updates to the date filter and report scheduling calculation.
2024-05-31 15:37:42 +01:00

14 lines
477 B
YAML

issueNumber: MDL-82041
notes:
core_reportbuilder:
- message: >-
All time related code has been updated to the PSR-20 Clock interface, as
such the following methods no longer accept a `$timenow` parameter
(instead please use `\core\clock` dependency injection):
- `core_reportbuilder_generator::create_schedule`
-
`core_reportbuilder\local\helpers\schedule::[create_schedule|calculate_next_send_time]`
type: changed