From 87268555c5619d8176711b3c09eb6515c45cc648 Mon Sep 17 00:00:00 2001 From: Jake Howard Date: Fri, 27 May 2016 15:56:08 +0100 Subject: [PATCH] Update filter format --- plugins/filters.py | 2 +- theme/templates/projects.html | 5 ++--- 2 files changed, 3 insertions(+), 4 deletions(-) diff --git a/plugins/filters.py b/plugins/filters.py index da370a8..4b6d384 100644 --- a/plugins/filters.py +++ b/plugins/filters.py @@ -2,4 +2,4 @@ import iso8601 def format_datetime(value): - return iso8601.parse_date(str(value)).strftime("%x") + return iso8601.parse_date(str(value)).strftime("%x %-H:%M") diff --git a/theme/templates/projects.html b/theme/templates/projects.html index e12e268..c119ade 100644 --- a/theme/templates/projects.html +++ b/theme/templates/projects.html @@ -17,9 +17,8 @@
-

- Updated: {{ article.updated }} - Date: {{ article.date|datetime }} +

+ Updated: {{ article.date|datetime }}

{{ article.content }}