Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. QTimeZone: "Europe/Kiev" vs. "Europe/Kyiv"
Forum Updated to NodeBB v4.3 + New Features

QTimeZone: "Europe/Kiev" vs. "Europe/Kyiv"

Scheduled Pinned Locked Moved Unsolved General and Desktop
5 Posts 2 Posters 1.1k Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • l3u_L Offline
    l3u_L Offline
    l3u_
    wrote on last edited by l3u_
    #1

    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 called Etc/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 called Europe/Kyiv (listed by QTimeZone::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!

    Christian EhrlicherC 1 Reply Last reply
    0
    • l3u_L l3u_

      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 called Etc/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 called Europe/Kyiv (listed by QTimeZone::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!

      Christian EhrlicherC Offline
      Christian EhrlicherC Offline
      Christian Ehrlicher
      Lifetime Qt Champion
      wrote on last edited by
      #2

      @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.

      Qt Online Installer direct download: https://download.qt.io/official_releases/online_installers/
      Visit the Qt Academy at https://academy.qt.io/catalog

      1 Reply Last reply
      1
      • l3u_L Offline
        l3u_L Offline
        l3u_
        wrote on last edited by
        #3

        Well, then, I'll have to check which version is provided by the OS and map this entry dynamically if necessary.

        Thanks for the clarification!

        1 Reply Last reply
        0
        • Christian EhrlicherC Offline
          Christian EhrlicherC Offline
          Christian Ehrlicher
          Lifetime Qt Champion
          wrote on last edited by
          #4

          On linux it comes from tzdata package - see e.g. https://packages.debian.org/en/sid/tzdata

          Qt Online Installer direct download: https://download.qt.io/official_releases/online_installers/
          Visit the Qt Academy at https://academy.qt.io/catalog

          1 Reply Last reply
          1
          • l3u_L Offline
            l3u_L Offline
            l3u_
            wrote on last edited by
            #5

            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).

            1 Reply Last reply
            2

            • Login

            • Login or register to search.
            • First post
              Last post
            0
            • Categories
            • Recent
            • Tags
            • Popular
            • Users
            • Groups
            • Search
            • Get Qt Extensions
            • Unsolved