-
Improvement
-
Resolution: Fixed
-
Blocker
-
4.1
-
MOODLE_401_STABLE
-
MOODLE_401_STABLE
-
MDL-75100-master -
The strftime, and gmstrftime functions have been deprecated and will be removed in 9.0.
See https://php.watch/versions/8.1/strftime-gmstrftime-deprecated for further information.
We will need to get on this ASAP and should take this opportunity to improve the core_date class (and/or replace it if relevant).
The recognised replacement is to use the Intl library, which uses Unicode CLDR data rather than system locale data and alleviates other issues.
With the right API design we can also hopefully improve our testing integrations.
- caused a regression
-
MDLSITE-7370 Finnish langconfig error
- Development in progress
-
MDL-76537 Encoding problem in month names on Windows server
- Closed
-
MDL-78151 The setGregorianChange() error appears on the profile page when the Kyiv time zone is selected.
- Closed
-
MDL-76470 Incorrect locale detection in core_date::strftime on windows
- Closed
-
MDL-81074 core_date::strftime may give unexpected results
- Closed
- has been marked as being related by
-
MDL-77366 Consider completely deprecating all uses of strftime (locale) formats in core
- Open
-
MDL-77103 Function strftime() is deprecated since PHP 8.1
- Closed
- will help resolve
-
MDL-75626 Some recent change in AM/PM handling is causing Mac tests to fail
- Open
-
MDL-71549 workaround for %p in strftime on MacOS
- Open