/[Apache-SVN]
ViewVC logotype

Revision 348311


Jump to revision: Previous Next
Author: ggregory
Date: Wed Nov 23 00:19:44 2005 UTC (18 years, 10 months ago)
Changed paths: 2
Log Message:
http://issues.apache.org/bugzilla/show_bug.cgi?id=37596
The method DurationFormatUtils.formatDurationWords incorrectly outputs numbers
ending in "1" without a plural "s" postfix for the time unit.
Added a fix and tests that "1 <unit>s" gets converted to "1 <unit>" but that "11
<unit>s" is left alone.

Changed paths

Path Details
Directoryjakarta/commons/proper/lang/trunk/src/java/org/apache/commons/lang/time/DurationFormatUtils.java modified , text changed
Directoryjakarta/commons/proper/lang/trunk/src/test/org/apache/commons/lang/time/DurationFormatUtilsTest.java modified , text changed

infrastructure at apache.org
ViewVC Help
Powered by ViewVC 1.1.26