diff --git a/src/java/org/apache/commons/lang/time/DurationFormatUtils.java b/src/java/org/apache/commons/lang/time/DurationFormatUtils.java index 80a73b7de..e9c06ea59 100644 --- a/src/java/org/apache/commons/lang/time/DurationFormatUtils.java +++ b/src/java/org/apache/commons/lang/time/DurationFormatUtils.java @@ -41,7 +41,7 @@ import java.util.TimeZone; * @author Gary Gregory * @author Henri Yandell * @since 2.1 - * @version $Id: DurationFormatUtils.java,v 1.17 2004/09/27 03:31:59 bayard Exp $ + * @version $Id: DurationFormatUtils.java,v 1.18 2004/09/27 03:40:15 bayard Exp $ */ public class DurationFormatUtils { @@ -104,7 +104,7 @@ public class DurationFormatUtils { * @return the time as a String */ public static String format(long millis, String format) { - return format(millis, format, true); + return format(millis, format, true, TimeZone.getDefault()); } /** *
Get the time gap as a string, using the specified format.