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

Cron Time Zone is not reflected in preview

    XMLWordPrintable

Details

    Description

       

      Text after textarea still shows 1pm CEST ; not sure if the feature is not working or if the preview is wrong. (should display 1pm GMT or 2PM CEST)

      Attachments

        Issue Links

          Activity

            danielbeck Daniel Beck added a comment -

            Looks like an issue with the validation only, it does not consider the specified timezone.

            danielbeck Daniel Beck added a comment - Looks like an issue with the validation only, it does not consider the specified timezone.

            Yes, it is only display and validation.

            roidelapluie Julien Pivotto added a comment - Yes, it is only display and validation.
            danielbeck Daniel Beck added a comment -
            TZ=GMT
            H 1 * * 6 

            For an additional challenge

            Would last have run at Samstag, 25. März 2017 02:58 Uhr MEZ; would next run at Samstag, 1. April 2017 03:58 Uhr MESZ.

            Looks reasonable to me.

            danielbeck Daniel Beck added a comment - TZ=GMT H 1 * * 6 For an additional challenge Would last have run at Samstag, 25. März 2017 02:58 Uhr MEZ; would next run at Samstag, 1. April 2017 03:58 Uhr MESZ. Looks reasonable to me.

            Code changed in jenkins
            User: Daniel Beck
            Path:
            core/src/main/java/hudson/scheduler/CronTab.java
            core/src/main/java/hudson/scheduler/CronTabList.java
            http://jenkins-ci.org/commit/jenkins/43d612f984572bfd764009b0a46184cb535f97ce
            Log:
            [FIX JENKINS-43228] Consider time zone for cron validation

            scm_issue_link SCM/JIRA link daemon added a comment - Code changed in jenkins User: Daniel Beck Path: core/src/main/java/hudson/scheduler/CronTab.java core/src/main/java/hudson/scheduler/CronTabList.java http://jenkins-ci.org/commit/jenkins/43d612f984572bfd764009b0a46184cb535f97ce Log: [FIX JENKINS-43228] Consider time zone for cron validation
            danielbeck Daniel Beck added a comment -

            Fixed in 2.54.

            danielbeck Daniel Beck added a comment - Fixed in 2.54.

            People

              danielbeck Daniel Beck
              roidelapluie Julien Pivotto
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: