Commit ae152f48 authored by 张彦钊's avatar 张彦钊

修改点击率计算日期

parent c0d60644
...@@ -80,7 +80,7 @@ if __name__ == "__main__": ...@@ -80,7 +80,7 @@ if __name__ == "__main__":
month = now.month month = now.month
day = now.day day = now.day
stat_date = datetime(year, month, day) stat_date = datetime(year, month, day)
stat_date = (stat_date - timedelta(days=3)).strftime("%Y-%m-%d") stat_date = (stat_date - timedelta(days=1)).strftime("%Y-%m-%d")
print(stat_date) print(stat_date)
tail6 = get_tail6() tail6 = get_tail6()
get_ctr(tail6) get_ctr(tail6)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment