Skip to content

Commit

Permalink
fix hour format bug
Browse files Browse the repository at this point in the history
  • Loading branch information
F-Node-Karlsruhe committed Jun 26, 2021
1 parent c9128e7 commit d194498
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ghost_api.py
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ def get_post(slug, exp_date):
# append expire date
html.find('div', {'class': 'byline-meta-content'}).append(BeautifulSoup(
'<time class="byline-meta-date"><span class="bull">•</span>Expires %s</time>'
% exp_date.strftime('%d.%m.%y %I:%M'),
% exp_date.strftime('%d.%m.%y %H:%M'),
"html.parser"))

# insert the actual post content
Expand Down

0 comments on commit d194498

Please sign in to comment.