wcj před 5 roky
rodič
revize
91958b5d40

+ 1 - 1
src/jfw/modules/subscribepay/src/report/report.go

@@ -339,7 +339,7 @@ func getDateSection(start, end int64) string {
 	s := time.Unix(start, 0)
 	e := time.Unix(end, 0)
 	for {
-		if !s.Before(e) {
+		if s.After(e) {
 			break
 		}
 		array = append(array, qutil.FormatDate(&s, qutil.Date_Short_Layout))