commons-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bay...@apache.org
Subject svn commit: r892161 - /commons/proper/lang/trunk/src/java/org/apache/commons/lang3/time/FastDateFormat.java
Date Fri, 18 Dec 2009 07:21:19 GMT
Author: bayard
Date: Fri Dec 18 07:21:10 2009
New Revision: 892161

URL: http://svn.apache.org/viewvc?rev=892161&view=rev
Log:
Switching from getTime() to getTimeInMillis() per Sebb's report that it still fixes LANG-538
and is going to be lighter weight

Modified:
    commons/proper/lang/trunk/src/java/org/apache/commons/lang3/time/FastDateFormat.java

Modified: commons/proper/lang/trunk/src/java/org/apache/commons/lang3/time/FastDateFormat.java
URL: http://svn.apache.org/viewvc/commons/proper/lang/trunk/src/java/org/apache/commons/lang3/time/FastDateFormat.java?rev=892161&r1=892160&r2=892161&view=diff
==============================================================================
--- commons/proper/lang/trunk/src/java/org/apache/commons/lang3/time/FastDateFormat.java (original)
+++ commons/proper/lang/trunk/src/java/org/apache/commons/lang3/time/FastDateFormat.java Fri
Dec 18 07:21:10 2009
@@ -869,7 +869,7 @@
      */
     public StringBuffer format(Calendar calendar, StringBuffer buf) {
         if (mTimeZoneForced) {
-            calendar.getTime(); /// LANG-538
+            calendar.getTimeInMillis(); /// LANG-538
             calendar = (Calendar) calendar.clone();
             calendar.setTimeZone(mTimeZone);
         }



Mime
View raw message