Skip to content

Commit

Permalink
fixed files form Lang #38
Browse files Browse the repository at this point in the history
  • Loading branch information
tdurieux committed Mar 7, 2017
1 parent 5057092 commit 7936306
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -869,6 +869,7 @@ public StringBuffer format(Date date, StringBuffer buf) {
*/
public StringBuffer format(Calendar calendar, StringBuffer buf) {
if (mTimeZoneForced) {
calendar.getTime(); /// LANG-538
calendar = (Calendar) calendar.clone();
calendar.setTimeZone(mTimeZone);
}
Expand Down

0 comments on commit 7936306

Please sign in to comment.