|
@ -203,6 +203,7 @@ public class DateUtil {
|
|
|
if (StringUtils.isEmpty(strDate)) {
|
|
|
return null;
|
|
|
}
|
|
|
strDate = strDate.replace(".0","");
|
|
|
DateTimeFormatter dateTimeFormatter = DateTimeFormatter.ofPattern(format);
|
|
|
LocalDateTime localDateTime = LocalDateTime.parse(strDate,dateTimeFormatter);
|
|
|
return Date.from(localDateTime.atZone(zone).toInstant());
|