This commit is contained in:
Looly 2024-06-14 01:18:28 +08:00
parent 0a788ba961
commit c5f92b4dea

View File

@ -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));
}
/**