mirror of
https://gitee.com/chinabugotech/hutool.git
synced 2025-07-21 15:09:48 +08:00
fix code
This commit is contained in:
@@ -548,7 +548,7 @@ public class DateUtil extends CalendarUtil {
|
||||
if (date instanceof DateTime) {
|
||||
timeZone = ((DateTime) date).getTimeZone();
|
||||
}
|
||||
return format(date, newSimpleFormat(format, null, timeZone));
|
||||
return format(date, FastDateFormat.getInstance(format, timeZone));
|
||||
}
|
||||
|
||||
/**
|
||||
|
Reference in New Issue
Block a user