From d8e64b0f00d02e606ed56dd76274d63e3e37331b Mon Sep 17 00:00:00 2001 From: William O'Mullane Date: Fri, 7 Jun 2024 19:57:42 +0100 Subject: [PATCH] fix date in HTML --- milestones/celeb.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/milestones/celeb.py b/milestones/celeb.py index bbb9bb9..524ede8 100644 --- a/milestones/celeb.py +++ b/milestones/celeb.py @@ -215,7 +215,8 @@ def completed_or_previosdue(ms, comp_milestones): if comp_milestones: cm = find_comp(comp_milestones, ms.code) if cm: - completed = f"{cm.fdue.strftime('%Y-%m-%d')}" + date = cm.fdue.strftime("%d-%b-%Y") + completed = f"{date}" return completed