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

wrong timezone reported in changes

    XMLWordPrintable

Details

    Description

      jenkins do report git commit date based on master timezone, not using committer timezone.

      For sample, Committer date is reported by raw changelog as `1424725127 -0500`
      This is parsed by git-plugin ChangelogParser as `iso.format(1424725127) + remaining string`

      If jenkins master run as UTC+1 (Fr) this will result into : `2015-02-23T21:58:47+0100 -0500` which is wrong

      Attachments

        Issue Links

          Activity

            ndeloof Nicolas De Loof created issue -
            ndeloof Nicolas De Loof made changes -
            Field Original Value New Value
            Description jenkins do report git commit date based on master timezone, not using committer timezone.

            For sample, Committer date is reported by raw changelog as `1424725127 -0500`
            This is parsed by git-plugin ChangelogParser as `iso.format(1424725127) + remaining string`

            If jenkins master run as UTC this will result into : `2015-02-23T21:58:47+0100 -0500` which is wrong
            jenkins do report git commit date based on master timezone, not using committer timezone.

            For sample, Committer date is reported by raw changelog as `1424725127 -0500`
            This is parsed by git-plugin ChangelogParser as `iso.format(1424725127) + remaining string`

            If jenkins master run as UTC+1 (Fr) this will result into : `2015-02-23T21:58:47+0100 -0500` which is wrong
            markewaite Mark Waite made changes -
            Resolution Fixed [ 1 ]
            Status Open [ 1 ] Resolved [ 5 ]
            ndeloof Nicolas De Loof made changes -
            Link This issue is related to JENKINS-22536 [ JENKINS-22536 ]
            markewaite Mark Waite made changes -
            Status Resolved [ 5 ] Closed [ 6 ]
            rtyler R. Tyler Croy made changes -
            Workflow JNJira [ 161290 ] JNJira + In-Review [ 208461 ]

            People

              ndeloof Nicolas De Loof
              ndeloof Nicolas De Loof
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: