-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Description
While this is an expected behavior, it also breaks running Postgres docker image on systems which did not perform the migration yet, such as fresh Windows 11, as long as you are located in Ukraine.
For example, on this same Windows 11, when connecting to Postgres from a Quarkus app, I get this error:
FATAL: invalid value for parameter "TimeZone": "Europe/Kiev"
This is actually being caused by modern Java also reporting the older variant when on Windows.
PS C:\Users\...\Projects\...> jshell
| Welcome to JShell -- Version 25.0.1
| For an introduction type: /help intro
jshell> ZoneId.systemDefault()
$1 ==> Europe/Kiev
While this is definitely something to be reported to Oracle, I believe this is also fixable by installing tzdata-legacy package, as described here. https://askubuntu.com/questions/1556048/ubuntu-server-cant-change-timezone
It also can be worked around with extra arguments, but it is not something that should be expected to be done by every single developer located in Ukraine, using Windows, using Postgres in Docker.