Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

name time zone Kiev #1790

Closed
DaZOr93 opened this issue Sep 2, 2022 · 5 comments
Closed

name time zone Kiev #1790

DaZOr93 opened this issue Sep 2, 2022 · 5 comments
Labels
question Further information is requested

Comments

@DaZOr93
Copy link

DaZOr93 commented Sep 2, 2022

Fix name time zone Kiev
From manual page: https://php.net/timezones.europe


@saundefined
Copy link
Member

Thanks for the issue,
timezone updated in 5a4f758

Actual name is Europe/Kyiv, the name Europe/Kiev can be used for backward compatibility.

@cmb69
Copy link
Contributor

cmb69 commented Sep 2, 2022

That has already been updated in the EN docs; is this about a translation?

@cmb69 cmb69 added the question Further information is requested label Sep 2, 2022
@DaZOr93
Copy link
Author

DaZOr93 commented Sep 2, 2022

Thanks for the issue, timezone updated in 5a4f758

Actual name is Europe/Kyiv, the name Europe/Kiev can be used for backward compatibility.

I'm probably just confused. I'm using Laravel 9, and somewhere I saw that the timezone value is the same as in php, but with 'timezone' => 'Europe/Kyiv', I got an error, but Europe/Kiev works fine

@Girgias
Copy link
Member

Girgias commented Sep 2, 2022

Likely because this is only a recent change so you need an up to date PHP version (maybe only the latest one supports this?)

@cmb69
Copy link
Contributor

cmb69 commented Sep 5, 2022

Yeah, that is only available as of PHP 8.0.23 and 8.1.10, respectively, unless your distro replaces the bundled timezonedb. Either way, you can get the latest timezonedb from PECL: https://pecl.php.net/package/timezonedb

@cmb69 cmb69 closed this as completed Sep 5, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

4 participants