mirror of
https://gitee.com/dromara/hutool.git
synced 2025-05-02 11:49:07 +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) {
|
if (date instanceof DateTime) {
|
||||||
timeZone = ((DateTime) date).getTimeZone();
|
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