|
@@ -485,8 +485,11 @@ func HandleYongyiExcelDaily4(f *excelize.File, sheetName string) (indexList []*m
|
|
|
} else {
|
|
|
dateT, e = time.ParseInLocation("01-2-06", text, time.Local)
|
|
|
if e != nil {
|
|
|
- utils.FileLog.Info(fmt.Sprintf("sheet:%s 第%d行, 第%d列 读取行,时间列失败 Err:%s", sheetName, i, k, e))
|
|
|
- continue
|
|
|
+ dateT, e = time.ParseInLocation("2006/1/2", text, time.Local)
|
|
|
+ if e != nil {
|
|
|
+ utils.FileLog.Info(fmt.Sprintf("sheet:%s 第%d行, 第%d列 读取行,时间列失败 Err:%s", sheetName, i, k, e))
|
|
|
+ continue
|
|
|
+ }
|
|
|
}
|
|
|
}
|
|
|
dateMap[k] = dateT.Format(utils.FormatDate)
|