浏览代码

自主推送统计接口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: