Uploaded image for project: 'SR for Jira - Development'
  1. SR for Jira - Development
  2. SRJIRA-688

script fields - using the date template shows relative dates in column view

    Details

    • Type: Bug
    • Status: Done
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 5.0.0, 5.0.1
    • Component/s: None
    • Labels:
    • Sprint:
      Sprint 28 - Ends Apr 19, Sprint 29 - Ends 10 May
    • Critical Points:
      0

      Description

      This is different from system fields and datetime custom fields, which show the absolute date part only.

      For now, as a workaround, you can use a custom template that takes advantage of the stuff in the Script Field binding. e.g.

      #if ($value)
          <span title="$titleFormatter.format($value)"><time class="allow-future" datetime="$iso8601Formatter.format($value)">$dateFieldFormat.format($value)</time></span>
      #end
      

        Attachments

          Activity

            People

            Assignee:
            jcarter Jonny Carter
            Reporter:
            jechlin Jamie Echlin
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: