Skip to content

Commit

Permalink
edit: change the recorded time format to %H %M (Hours:Minutes).
Browse files Browse the repository at this point in the history
  • Loading branch information
niccolozanotti committed Sep 9, 2024
1 parent 29da136 commit 57da414
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app.py
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ def status():

def log_action(name, action):
now = datetime.now(timezone.utc)
log_entry = [now.date().isoformat(), now.time().isoformat(), name, action]
log_entry = [now.date().isoformat(), now.strftime('%H:%M'), name, action]
append_log_to_s3(log_entry)


Expand Down

0 comments on commit 57da414

Please sign in to comment.