Switching from getTime() to getTimeInMillis() per Sebb's report that it still fixes LANG-538 and is going to be lighter weight
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@892161 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
8fdfbff87c
commit
e5ccf09656
|
@ -869,7 +869,7 @@ public class FastDateFormat extends Format {
|
|||
*/
|
||||
public StringBuffer format(Calendar calendar, StringBuffer buf) {
|
||||
if (mTimeZoneForced) {
|
||||
calendar.getTime(); /// LANG-538
|
||||
calendar.getTimeInMillis(); /// LANG-538
|
||||
calendar = (Calendar) calendar.clone();
|
||||
calendar.setTimeZone(mTimeZone);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue