Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-57702

Schedule a job doesn't fire correctly when using Etc/GMT-XX time zones

    • Icon: Bug Bug
    • Resolution: Not A Defect
    • Icon: Minor Minor
    • core

      A problem related to using time zones in the schedule to build jobs periodically:

      GMT-10 is the same timezone as US/Hawaii. Both, at 12:00 are 00:00 at CEST Time Zone.

      If you set this in the Schedule textarea of a build configuration:

      TZ=US/Hawaii
      00 12 * * *

      The next execution is at 00:00 CEST => OK

      But, if you set this:

      TZ=Etc/GMT-10
      00 12 * * * 
      

      The next execution is at 04:00 CEST => WRONG

      It seems to be a bug when specifying time zones with GMT-XX.

          [JENKINS-57702] Schedule a job doesn't fire correctly when using Etc/GMT-XX time zones

          Markus Winter added a comment -

          From https://en.wikipedia.org/wiki/List_of_tz_database_time_zones the bahivour is correct. Etc/GMT-10 has an offset of +10 to GMT.
          See also https://en.wikipedia.org/wiki/Tz_database#Area

          Markus Winter added a comment - From https://en.wikipedia.org/wiki/List_of_tz_database_time_zones the bahivour is correct. Etc/GMT-10 has an offset of +10 to GMT. See also https://en.wikipedia.org/wiki/Tz_database#Area

            Unassigned Unassigned
            mramonleon Ramon Leon
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: