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:
Henri Yandell 2009-12-18 07:21:10 +00:00
parent 8fdfbff87c
commit e5ccf09656
1 changed files with 1 additions and 1 deletions

View File

@ -869,7 +869,7 @@ public StringBuffer format(Date date, StringBuffer buf) {
*/
public StringBuffer format(Calendar calendar, StringBuffer buf) {
if (mTimeZoneForced) {
calendar.getTime(); /// LANG-538
calendar.getTimeInMillis(); /// LANG-538
calendar = (Calendar) calendar.clone();
calendar.setTimeZone(mTimeZone);
}