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

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 2.1
    • 2.2
    • lang.time.*
    • None
    • Operating System: All
      Platform: All

    • 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

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

            Dates

              Created:
              Updated:
              Resolved: