mirror of
https://gitee.com/dromara/hutool.git
synced 2025-04-30 04:45:55 +08:00
fix code
This commit is contained in:
parent
0a788ba961
commit
c5f92b4dea
@ -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));
|
||||
}
|
||||
|
||||
/**
|
||||
|
Loading…
Reference in New Issue
Block a user