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

Timeline should use server's timezone, not GMT

    Details

    • Type: Bug
    • Status: Reopened
    • 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

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

        Issue Links

          Activity

          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.
          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 ssbarnea added a comment -

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

          Show
          ssbarnea ssbarnea 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.
          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.

            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: