From d78754d16cc0f64c8a4d9f0cecf3ceb38e5ece65 Mon Sep 17 00:00:00 2001 From: blacktwin Date: Thu, 14 Sep 2017 13:58:55 -0400 Subject: [PATCH] Update weekly_stats_reporting.py --- reporting/weekly_stats_reporting.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/reporting/weekly_stats_reporting.py b/reporting/weekly_stats_reporting.py index e80da84..cdbf244 100644 --- a/reporting/weekly_stats_reporting.py +++ b/reporting/weekly_stats_reporting.py @@ -305,8 +305,8 @@ def main(): lib_stats = get_sections_stats() # print(lib_stats) - end = datetime.datetime.strptime(time.ctime(float(DAYS_AGO)), "%a %b %d %H:%M:%S %Y").strftime("%a %b %d %Y") - start = datetime.datetime.strptime(time.ctime(float(TODAY)), "%a %b %d %H:%M:%S %Y").strftime("%a %b %d %Y") + end = datetime.datetime.strptime(time.ctime(float(TODAY)), "%a %b %d %H:%M:%S %Y").strftime("%a %b %d %Y") + start = datetime.datetime.strptime(time.ctime(float(DAYS_AGO)), "%a %b %d %H:%M:%S %Y").strftime("%a %b %d %Y") sections_stats = "\n".join(lib_stats) user_stats = "\n".join(user_stats_lst)