QTimeZone: "Europe/Kiev" vs. "Europe/Kyiv"
-
Hi all!
I'm the author of KGeoTag. This program deals among others with timezone data, particularily a dataset derived from the Timezone Boundary Builder. They write some timezones in a different way than Qt does (the
UTC
ones are calledEtc/GMT
), and I map those when creating the dataset.However I noticed that there's another exception, which unluckily seems to differ across distributions:
On my Gentoo system, there's an Ukrainian timezone called
Europe/Kiev
(which the Timezone Boundary Builder guys also call like that), but the very same timezone on my Artix machine is calledEurope/Kyiv
(listed byQTimeZone::availableTimeZoneIds()
).The Artix machine has Qt 5.15.6 installed (the base package is called "5.15.6+kde+r165-1"), Gentoo has Qt 5.15.5.
Is this something that has been changed? I couldn't find a ChangeLog for what was changed from 5.15.5 to 5.15.6. Or: Where does this different spelling come from?
Question is if I have to deal with both versions …
Thanks for all clarification!
-
Hi all!
I'm the author of KGeoTag. This program deals among others with timezone data, particularily a dataset derived from the Timezone Boundary Builder. They write some timezones in a different way than Qt does (the
UTC
ones are calledEtc/GMT
), and I map those when creating the dataset.However I noticed that there's another exception, which unluckily seems to differ across distributions:
On my Gentoo system, there's an Ukrainian timezone called
Europe/Kiev
(which the Timezone Boundary Builder guys also call like that), but the very same timezone on my Artix machine is calledEurope/Kyiv
(listed byQTimeZone::availableTimeZoneIds()
).The Artix machine has Qt 5.15.6 installed (the base package is called "5.15.6+kde+r165-1"), Gentoo has Qt 5.15.5.
Is this something that has been changed? I couldn't find a ChangeLog for what was changed from 5.15.5 to 5.15.6. Or: Where does this different spelling come from?
Question is if I have to deal with both versions …
Thanks for all clarification!
@l3u_ said in QTimeZone: "Europe/Kiev" vs. "Europe/Kyiv":
Or: Where does this different spelling come from?
Fro the fact that the russion version is 'Kiev' but the ukrainian one 'Kyiv'.
Qt can not do anything against this - this data comes from the os.
-
On linux it comes from
tzdata
package - see e.g. https://packages.debian.org/en/sid/tzdata -
Ah okay, seems like the spelling has been changed with the 2022c release of the timezone data (according to https://www.iana.org/time-zones).