Currently when each stage of a pipeline is ran, the time it started shows as '14 hours ago' or '4 days ago' for example.

      It would be really useful to actually show the date and time the stage ran. E.g. Oct 2 2018 17:35

      Supported as a configurable option, thus not changing the current default behavior.

          [JENKINS-53868] Show full date and time in pipeline view

          Tommy Tynjä added a comment -

          jellybean it would be quite trivial to support this. However, the preferred way would probably be to support this as a configuration option on the view so those users who wants this behavior could override the default (which shows relative times).

          Would something like this be sufficient (see attachment)? An open question is whether to account for time zone offsets.

          Tommy Tynjä added a comment - jellybean it would be quite trivial to support this. However, the preferred way would probably be to support this as a configuration option on the view so those users who wants this behavior could override the default (which shows relative times). Would something like this be sufficient (see attachment)? An open question is whether to account for time zone offsets.

          Tommy Tynjä added a comment -

          The screenshot above is essentially just a one-line modification:
          https://github.com/Diabol/delivery-pipeline-plugin/blob/ec00b37ab512b647c008bd930158e55d3e8e3d58/src/main/webapp/pipe.js#L558
          ... as:
          return date !== null ? moment(date, 'YYYY-MM-DDTHH:mm:ss').format('YYYY-MM-DD HH:mm:ss') : '';

          Tommy Tynjä added a comment - The screenshot above is essentially just a one-line modification: https://github.com/Diabol/delivery-pipeline-plugin/blob/ec00b37ab512b647c008bd930158e55d3e8e3d58/src/main/webapp/pipe.js#L558 ... as: return date !== null ? moment(date, 'YYYY-MM-DDTHH:mm:ss').format('YYYY-MM-DD HH:mm:ss') : '';

          Craig Webb added a comment -

          Hi Tommy, that looks perfect. Thanks for looking into this.

          Craig Webb added a comment - Hi Tommy, that looks perfect. Thanks for looking into this.

          Tommy Tynjä added a comment - - edited

          Proposed solution (with some additional refactorings): https://github.com/Diabol/delivery-pipeline-plugin/pull/295

          Adding absolute dates and times as a configurable option on the pipeline views (preserving the current relative dates and times as the default).

          Tommy Tynjä added a comment - - edited Proposed solution (with some additional refactorings): https://github.com/Diabol/delivery-pipeline-plugin/pull/295 Adding absolute dates and times as a configurable option on the pipeline views (preserving the current relative dates and times as the default).

          Tommy Tynjä added a comment -

          Released in Delivery Pipeline plugin 1.3.2.

          Tommy Tynjä added a comment - Released in Delivery Pipeline plugin 1.3.2.

          Craig Webb added a comment -

          Just updated the delivery pipeline to 1.3.2 and this fix is working great. Thanks Tommy.

          Craig Webb added a comment - Just updated the delivery pipeline to 1.3.2 and this fix is working great. Thanks Tommy.

          Tommy Tynjä added a comment -

          jellybean thanks for already trying it out and giving positive feedback about it. Glad it works great for you!

          Tommy Tynjä added a comment - jellybean thanks for already trying it out and giving positive feedback about it. Glad it works great for you!

            tommysdk Tommy Tynjä
            jellybean Craig Webb
            Votes:
            1 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: