From d194498d61f0fe1b24353c2ab35879e7334ce25f Mon Sep 17 00:00:00 2001 From: Christian Fries Date: Sat, 26 Jun 2021 15:55:05 +0200 Subject: [PATCH] fix hour format bug --- ghost_api.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ghost_api.py b/ghost_api.py index 5bbac89..36e1c05 100644 --- a/ghost_api.py +++ b/ghost_api.py @@ -35,7 +35,7 @@ def get_post(slug, exp_date): # append expire date html.find('div', {'class': 'byline-meta-content'}).append(BeautifulSoup( '' - % exp_date.strftime('%d.%m.%y %I:%M'), + % exp_date.strftime('%d.%m.%y %H:%M'), "html.parser")) # insert the actual post content