Uploaded image for project: '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
    • Status: Closed
    • Priority: 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

    • Bugzilla Id:
      37507

      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.

        Attachments

          Activity

            People

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

              Dates

              • Created:
                Updated:
                Resolved: