You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@commons.apache.org by fr...@apache.org on 2004/02/04 19:53:00 UTC
cvs commit: jakarta-commons/lang/src/java/org/apache/commons/lang/time FastDateFormat.java
fredrik 2004/02/04 10:53:00
Modified: lang/src/java/org/apache/commons/lang/time
FastDateFormat.java
Log:
Fixed bug in getDateInstance(int, TimeZone, Locale). See bz #26646.
Revision Changes Path
1.18 +3 -3 jakarta-commons/lang/src/java/org/apache/commons/lang/time/FastDateFormat.java
Index: FastDateFormat.java
===================================================================
RCS file: /home/cvs/jakarta-commons/lang/src/java/org/apache/commons/lang/time/FastDateFormat.java,v
retrieving revision 1.17
retrieving revision 1.18
diff -u -r1.17 -r1.18
--- FastDateFormat.java 29 Nov 2003 13:52:34 -0000 1.17
+++ FastDateFormat.java 4 Feb 2004 18:52:59 -0000 1.18
@@ -1,7 +1,7 @@
/* ====================================================================
* The Apache Software License, Version 1.1
*
- * Copyright (c) 2002-2003 The Apache Software Foundation. All rights
+ * Copyright (c) 2002-2004 The Apache Software Foundation. All rights
* reserved.
*
* Redistribution and use in source and binary forms, with or without
@@ -307,7 +307,7 @@
if (timeZone != null) {
key = new Pair(key, timeZone);
}
- if (locale == null) {
+ if (locale != null) {
key = new Pair(key, locale);
}
---------------------------------------------------------------------
To unsubscribe, e-mail: commons-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-dev-help@jakarta.apache.org