commons-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Michael Osipov (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (LANG-1005) Extend DurationFormatUtils#formatDurationISO default pattern to match #formatDurationHMS
Date Sun, 04 May 2014 20:17:14 GMT

     [ https://issues.apache.org/jira/browse/LANG-1005?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Michael Osipov updated LANG-1005:
---------------------------------

    Attachment: LANG-1005.patch

Simple patch.

> Extend DurationFormatUtils#formatDurationISO default pattern to match #formatDurationHMS
> ----------------------------------------------------------------------------------------
>
>                 Key: LANG-1005
>                 URL: https://issues.apache.org/jira/browse/LANG-1005
>             Project: Commons Lang
>          Issue Type: Improvement
>          Components: lang.text.*
>    Affects Versions: 3.3.2
>            Reporter: Michael Osipov
>         Attachments: LANG-1005.patch
>
>
> 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'}}.



--
This message was sent by Atlassian JIRA
(v6.2#6252)

Mime
View raw message