Truncated comment line to less that 80 chars.

pull/26/head
Markus Steinlein 4 years ago committed by Markus Steinlein
parent 19677cb455
commit f68aad4c81

@ -15,7 +15,8 @@ def markdown_with_jinja_renderer(text):
return pygmented_markdown(prerendered_body) return pygmented_markdown(prerendered_body)
# function to reformat date from blog posts for better visualization on the pages # function to reformat date from blog posts for better
# visualization on the pages
def format_date_string(date_string): def format_date_string(date_string):
date = datetime.strptime(date_string, "%d.%m.%Y") date = datetime.strptime(date_string, "%d.%m.%Y")
return date.strftime("%d. %B %Y") return date.strftime("%d. %B %Y")

Loading…
Cancel
Save