commons-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Benedikt Ritter (JIRA)" <j...@apache.org>
Subject [jira] [Resolved] (LANG-1005) Extend DurationFormatUtils#formatDurationISO default pattern to match #formatDurationHMS
Date Mon, 05 May 2014 18:04:16 GMT

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

Benedikt Ritter resolved LANG-1005.
-----------------------------------

    Resolution: Fixed

{code}
bene@localhost:~/workspace/apache/commons/lang$ svn ci -m "LANG-1005: Extend DurationFormatUtils#formatDurationISO
default pattern to match #formatDurationHMS. Thanks to Michael Osipov."
Sending        src/changes/changes.xml
Sending        src/main/java/org/apache/commons/lang3/time/DurationFormatUtils.java
Sending        src/test/java/org/apache/commons/lang3/time/DurationFormatUtilsTest.java
Transmitting file data ...
Committed revision 1592592.
{code}

Thanks!

> 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
>            Assignee: Benedikt Ritter
>         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