Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
peterdudfield committed Nov 16, 2024
1 parent a721abf commit 6ce150f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion database-cleanup/database_cleanup/app.py
Original file line number Diff line number Diff line change
Expand Up @@ -222,7 +222,7 @@ def format_date(date) -> dt.datetime:
:return:
"""
if date is None:
date = (dt.date.today() - dt.timedelta(days=3)).strftime("%Y-%m-%d 01:00")
date = (dt.date.today() - dt.timedelta(days=3)).strftime("%Y-%m-%d 00:00")

date = dt.datetime.strptime(date, "%Y-%m-%d %H:%M")

Expand Down

0 comments on commit 6ce150f

Please sign in to comment.