Explorar o código

Merge branch 'eta/1.8.3' into debug

Roc hai 11 meses
pai
achega
97028f86a3
Modificáronse 1 ficheiros con 7 adicións e 0 borrados
  1. 7 0
      controllers/report.go

+ 7 - 0
controllers/report.go

@@ -102,6 +102,13 @@ func (this *ReportController) GetDayWeekReportChapterTypeList() {
 					v.PauseStartTime = ``
 					v.PauseEndTime = ``
 				}
+			} else {
+				if v.PauseStartTime == `0001-01-01` {
+					v.PauseStartTime = ``
+				}
+				if v.PauseEndTime == `0001-01-01` {
+					v.PauseEndTime = ``
+				}
 			}
 			dayList = append(dayList, v)
 		}