Azurel
Silver Pleskian
Username:
TITLE
ICU version outdated? Timezone "Europe/Kyiv" throw U_ILLEGAL_ARGUMENT_ERROR
PRODUCT, VERSION, OPERATING SYSTEM, ARCHITECTURE
Plesk Obsidian Version 18.0.48 with AlmaLinux 8.7
PROBLEM DESCRIPTION
In PHP 8.1.12 I get a error, when I use "Europe/Kyiv" in IntlDateFormatter()
See php timezones "Europe/Kyiv" PHP: Europa - Manual
php-ext/date DateTimeZone() known "Europe/Kiev" and "Europe/Kyiv"
php-ext/intl IntlDateFormatter() known only "Europe/Kiev"
I assume INTL is outdated? Because server shows me
ICU version 60.3
ICU Data version 60.3
ICU Unicode version 10.0
Currently is ICU version 72 with Unicode 15. See ICU - International Components for Unicode - Downloading ICU
Maybe I assume that solves the problem? I'm not sure, but that version is very old on AlmaLinux 8.7.
STEPS TO REPRODUCE
try code with php 8.1.12
$fmt = new IntlDateFormatter('en_US.utf8', IntlDateFormatter::NONE, IntlDateFormatter::NONE, 'Europe/Kyiv');
ACTUAL RESULT
datefmt_create: No such time zone: 'Europe/Kyiv': U_ILLEGAL_ARGUMENT_ERROR
EXPECTED RESULT
no error
ANY ADDITIONAL INFORMATION
Maybe this is not the solution to the problem, but something seems to be out of date here then?
Can anyone help me out here?
YOUR EXPECTATIONS FROM PLESK SERVICE TEAM
Confirm bug
TITLE
ICU version outdated? Timezone "Europe/Kyiv" throw U_ILLEGAL_ARGUMENT_ERROR
PRODUCT, VERSION, OPERATING SYSTEM, ARCHITECTURE
Plesk Obsidian Version 18.0.48 with AlmaLinux 8.7
PROBLEM DESCRIPTION
In PHP 8.1.12 I get a error, when I use "Europe/Kyiv" in IntlDateFormatter()
See php timezones "Europe/Kyiv" PHP: Europa - Manual
php-ext/date DateTimeZone() known "Europe/Kiev" and "Europe/Kyiv"
php-ext/intl IntlDateFormatter() known only "Europe/Kiev"
I assume INTL is outdated? Because server shows me
ICU version 60.3
ICU Data version 60.3
ICU Unicode version 10.0
Currently is ICU version 72 with Unicode 15. See ICU - International Components for Unicode - Downloading ICU
Maybe I assume that solves the problem? I'm not sure, but that version is very old on AlmaLinux 8.7.
STEPS TO REPRODUCE
try code with php 8.1.12
$fmt = new IntlDateFormatter('en_US.utf8', IntlDateFormatter::NONE, IntlDateFormatter::NONE, 'Europe/Kyiv');
ACTUAL RESULT
datefmt_create: No such time zone: 'Europe/Kyiv': U_ILLEGAL_ARGUMENT_ERROR
EXPECTED RESULT
no error
ANY ADDITIONAL INFORMATION
Maybe this is not the solution to the problem, but something seems to be out of date here then?
Can anyone help me out here?
YOUR EXPECTATIONS FROM PLESK SERVICE TEAM
Confirm bug