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

Timeline should use server's timezone, not GMT

    Details

    • Type: Bug
    • Status: Reopened (View Workflow)
    • Priority: Minor
    • Resolution: Fixed
    • Component/s: core
    • Labels:
      None
    • Environment:
      Server: Windows Server 2008 R2, Tomcat 6.0.20, JDK 1.6.0_20, Hudson 1.357
      Client: Windows 7 Enterprise, Google Chrome 5.0
    • Similar Issues:

      Description

      When viewing a job, the timeline displays times using GMT rather than the server's timezone — EDT (GMT-0400) in my case. This means that a build which took place at 12:57 PM shows up right before "17h" on the timeline, but it should appear right before "13h" (see attached screenshot).

        Attachments

          Issue Links

            Activity

            malfunction84 Mark Lewis created issue -
            mindless Alan Harder made changes -
            Field Original Value New Value
            Assignee mindless [ mindless ]
            Hide
            scm_issue_link SCM/JIRA link daemon added a comment -

            Code changed in hudson
            User: : mindless
            Path:
            trunk/hudson/main/core/src/main/resources/hudson/model/Job/buildTimeTrend.jelly
            trunk/www/changelog.html
            http://jenkins-ci.org/commit/31945
            Log:
            [FIXED JENKINS-6692] Timeline on build trend page should use server timezone
            instead of always GMT.

            Show
            scm_issue_link SCM/JIRA link daemon added a comment - Code changed in hudson User: : mindless Path: trunk/hudson/main/core/src/main/resources/hudson/model/Job/buildTimeTrend.jelly trunk/www/changelog.html http://jenkins-ci.org/commit/31945 Log: [FIXED JENKINS-6692] Timeline on build trend page should use server timezone instead of always GMT.
            scm_issue_link SCM/JIRA link daemon made changes -
            Status Open [ 1 ] Resolved [ 5 ]
            Resolution Fixed [ 1 ]
            ashmetry ashmetry made changes -
            Status Resolved [ 5 ] Verified [ 10000 ]
            macosgrove macosgrove made changes -
            Status Verified [ 10000 ] Reopened [ 4 ]
            Hide
            macosgrove macosgrove added a comment -

            I'm still seeing this issue in Hudson 1.373, server and client both Windows XP Professional SP3.

            Show
            macosgrove macosgrove added a comment - I'm still seeing this issue in Hudson 1.373, server and client both Windows XP Professional SP3.
            Hide
            ssbarnea Sorin Sbarnea added a comment -

            And now the question is how do I force hudson to use GMT and military dateformat?

            Show
            ssbarnea Sorin Sbarnea added a comment - And now the question is how do I force hudson to use GMT and military dateformat?
            Hide
            malfunction84 Mark Lewis added a comment -

            I am still seeing this problem in Jenkins 1.421. It's only 1 hour off now, so perhaps it is related to DST.

            Show
            malfunction84 Mark Lewis added a comment - I am still seeing this problem in Jenkins 1.421. It's only 1 hour off now, so perhaps it is related to DST.
            malfunction84 Mark Lewis made changes -
            Attachment JENKINS-6692.png [ 20645 ]
            Hide
            andrey_regentov andrey regentov added a comment -

            Still seeing this in 1.450. Time is 1 hour back.

            Show
            andrey_regentov andrey regentov added a comment - Still seeing this in 1.450. Time is 1 hour back.
            evernat evernat made changes -
            Link This issue is related to JENKINS-10184 [ JENKINS-10184 ]
            rtyler R. Tyler Croy made changes -
            Workflow JNJira [ 136787 ] JNJira + In-Review [ 185955 ]
            qris Chris Wilson made changes -
            Link This issue is related to JENKINS-49626 [ JENKINS-49626 ]

              People

              • Assignee:
                mindless Alan Harder
                Reporter:
                malfunction84 Mark Lewis
              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: