Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
3.9.16, 3.11.9, 4.0.3, 4.1
Description
It seems that latest versions of PHP come with a version of IANA database (TZDB) time zones version 2022b that includes the change of Europe/Kiev to Europe/Kyiv (note the old name still remains as alias).
This PHP Bug confirms it: https://bugs.php.net/bug.php?id=80254
And this is the failure that we are getting when using the latest PHP versions using that time zones database:
Example run, using just released 8.0.23 (September 1st): https://github.com/stronk7/moodle/actions/runs/2979120020
1) core_date_testcase::test_timezone_lang_strings
|
String for timezone europe/kyiv not found.
|
Failed asserting that false is true.
|
|
D:\a\moodle\moodle\lib\tests\date_test.php:174
|
D:\a\moodle\moodle\lib\phpunit\classes\advanced_testcase.php:80
|
So this issue is about to add that new Europe/Kyiv in all supported versions.
As a reference, MDL-72953 was exactly the same case. Trivial to fix, it seems, just add the new string.
Ciao