Skip to content

Commit

Permalink
Fix notification email year to YYYY/mm/dd (#534)
Browse files Browse the repository at this point in the history
  • Loading branch information
mclmax authored Jul 22, 2024
1 parent 32b86ae commit 8ea5315
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion canarytokens/models.py
Original file line number Diff line number Diff line change
Expand Up @@ -1333,7 +1333,7 @@ def get_additional_data_for_notification(self) -> Dict[str, Any]:

time = datetime.utcnow()
additional_data["time_hm"] = time.strftime("%H:%M")
additional_data["time_ymd"] = time.strftime("%y/%m/%d")
additional_data["time_ymd"] = time.strftime("%Y/%m/%d")

return additional_data

Expand Down

0 comments on commit 8ea5315

Please sign in to comment.