Commons Lang
  1. Commons Lang
  2. LANG-25

[lang] DurationFormatUtils.formatDurationISO() javadoc is missing T in duration string between date and time part

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Minor Minor
    • Resolution: Fixed
    • Affects Version/s: 2.1
    • Fix Version/s: 2.2
    • Component/s: lang.time.*
    • Labels:
      None
    • Environment:

      Operating System: All
      Platform: All

      Description

      The javadoc says: "This method formats durations using the days and lower fields
      of the ISO format pattern, such as P7D6H5M4.321S." the example duration is
      missing a T between the date part 7D and the time part 6H5M4.321S. The format is
      P1M for 1 month and PT1M for one minute.

        Activity

        No work has yet been logged on this issue.

          People

          • Assignee:
            Unassigned
            Reporter:
            Hack Kampbjorn
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development