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

        Mark Thomas made changes -
        Workflow jira [ 12371623 ] Default workflow, editable Closed status [ 12602155 ]
        Henri Yandell made changes -
        Component/s lang.time.* [ 12313196 ]
        Henri Yandell made changes -
        Status Resolved [ 5 ] Closed [ 6 ]
        Henri Yandell made changes -
        Fix Version/s 2.2 [ 12311702 ]
        Henri Yandell made changes -
        Affects Version/s 2.1 Final [ 12311701 ]
        Henri Yandell made changes -
        Assignee Jakarta Commons Developers Mailing List [ commons-dev@jakarta.apache.org ]
        Key COM-2566 LANG-25
        Component/s Lang [ 12311121 ]
        Affects Version/s 2.1 Final [ 12311659 ]
        Fix Version/s 2.2 [ 12311686 ]
        Project Commons [ 12310458 ] Commons Lang [ 12310481 ]
        Henri Yandell made changes -
        Field Original Value New Value
        issue.field.bugzillaimportkey 37507 12342718
        Hide
        Henri Yandell added a comment -

        P7D6H5M4.321S changed to P7D6TH5M4.321S.

        Show
        Henri Yandell added a comment - P7D6H5M4.321S changed to P7D6TH5M4.321S.
        Hack Kampbjorn created issue -

          People

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

            Dates

            • Created:
              Updated:
              Resolved:

              Development