fix: 识别日期类型

This commit is contained in:
taojinlong 2021-08-23 12:12:12 +08:00
parent f8a4656541
commit 9c910893ce

View File

@ -329,7 +329,7 @@ public class ExcelXlsxReader extends DefaultHandler {
formatString = style.getDataFormatString();
short format = this.formatIndex;
if (format == 14 || format == 31 || format == 57 ||format == 59||
format == 58 || (176 < format && format < 178)
format == 58 || (176 <= format && format < 178)
|| (182 <= format && format <= 196) ||
(210 <= format && format <= 213) || (208 == format))
{ // 日期