logging-log4j-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From carn...@apache.org
Subject svn commit: r510834 - /logging/log4j/trunk/tests/src/java/org/apache/log4j/helpers/DateLayoutTest.java
Date Fri, 23 Feb 2007 05:25:42 GMT
Author: carnold
Date: Thu Feb 22 21:25:37 2007
New Revision: 510834

URL: http://svn.apache.org/viewvc?view=rev&rev=510834
Log:
Bug 41373: DateLayoutTest fails if Locale is not en_US

Modified:
    logging/log4j/trunk/tests/src/java/org/apache/log4j/helpers/DateLayoutTest.java

Modified: logging/log4j/trunk/tests/src/java/org/apache/log4j/helpers/DateLayoutTest.java
URL: http://svn.apache.org/viewvc/logging/log4j/trunk/tests/src/java/org/apache/log4j/helpers/DateLayoutTest.java?view=diff&rev=510834&r1=510833&r2=510834
==============================================================================
--- logging/log4j/trunk/tests/src/java/org/apache/log4j/helpers/DateLayoutTest.java (original)
+++ logging/log4j/trunk/tests/src/java/org/apache/log4j/helpers/DateLayoutTest.java Thu Feb
22 21:25:37 2007
@@ -250,7 +250,7 @@
      * @deprecated since DateTimeDateFormat is deprecated
      */
   public void testDateTimeFormat() {
-      DateFormat format = new DateTimeDateFormat(Locale.ENGLISH);
+      DateFormat format = new DateTimeDateFormat();
       Calendar calendar = Calendar.getInstance();
       calendar.clear();
       calendar.set(1970, 0, 1, 0, 0, 0);



---------------------------------------------------------------------
To unsubscribe, e-mail: log4j-dev-unsubscribe@logging.apache.org
For additional commands, e-mail: log4j-dev-help@logging.apache.org


Mime
View raw message