Commit f26700b5 authored by 高雅喆's avatar 高雅喆

reset the formal

parent 3da41c4d
......@@ -32,7 +32,7 @@ def get_yesterday_date():
:rtype : str
"""
today = datetime.date.today()
yesterday = today - datetime.timedelta(days=2)
yesterday = today - datetime.timedelta(days=1)
yesterday = yesterday.strftime("%Y-%m-%d")
return yesterday
......
......@@ -32,6 +32,6 @@ def get_yesterday_date():
:rtype : str
"""
today = datetime.date.today()
yesterday = today - datetime.timedelta(days=2)
yesterday = today - datetime.timedelta(days=1)
yesterday = yesterday.strftime("%Y-%m-%d")
return yesterday
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