소스 검색

自主推送统计接口6

tanghongbin 5 년 전
부모
커밋
64bc105314
1개의 변경된 파일2개의 추가작업 그리고 1개의 파일을 삭제
  1. 2 1
      Controller/AdminManage.py

+ 2 - 1
Controller/AdminManage.py

@@ -518,7 +518,8 @@ class AdminManage(TemplateView):
                 tmp['number_of_failures'] += 1
                 failures += 1
             tmp['total'] += 1
-        statistics_date = time.strftime('%M-%d', time.localtime(start_time))
+        statistics_date = time.strftime('%m-%d', time.localtime(start_time))
+        print(statistics_date)
         tmp_dict[statistics_date] = tmp
 
         for item in data: