Browse Source

自主推送统计接口6

tanghongbin 5 years ago
parent
commit
64bc105314
1 changed files with 2 additions and 1 deletions
  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: