• Icon: Improvement Improvement
    • Resolution: Fixed
    • Icon: Major Major
    • other
    • None
    • Platform: All, OS: All

      The build time stored in the Build record should be stored in some immutable
      format (e.g., an epoch-time long). This will forestall any weird bugs like the
      one in this thread:

      https://hudson.dev.java.net/servlets/ReadMsg?list=users&msgNo=5681

          [JENKINS-1084] Build record time should be immutable

              • Issue 1247 has been marked as a duplicate of this issue. ***

          Kohsuke Kawaguchi added a comment - Issue 1247 has been marked as a duplicate of this issue. ***

          After looking at the code, I modified the code to return a cloned Calendar in
          the getTimestamp() method, instead of using the long in the field.

          We really need a constructor in GregorianCalendar that takes long or Date.

          This fix is in 1.179.

          Kohsuke Kawaguchi added a comment - After looking at the code, I modified the code to return a cloned Calendar in the getTimestamp() method, instead of using the long in the field. We really need a constructor in GregorianCalendar that takes long or Date. This fix is in 1.179.

            Unassigned Unassigned
            rsutphin rsutphin
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved: