Uploaded image for project: 'Commons Lang'
  1. Commons Lang
  2. LANG-1005

Extend DurationFormatUtils#formatDurationISO default pattern to match #formatDurationHMS

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 3.3.2
    • 3.4
    • lang.text.*
    • None

    Description

      Currently, formatDuration will specify HH:mm:ss.SSS but formatDurationISO specifies 'P'yyyy'Y'M'M'd'DT'H'H'm'M's.S'S'. Both should have a uniform definition, i.e., it should be 'P'yyyy'Y'M'M'd'DT'H'H'm'M's.SSS'S'.

      Attachments

        1. LANG-1005.patch
          2 kB
          Michael Osipov

        Activity

          People

            britter Benedikt Ritter
            michael-o Michael Osipov
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: