summaryrefslogtreecommitdiffstatshomepage
path: root/templates/macros/date.html
diff options
context:
space:
mode:
Diffstat (limited to 'templates/macros/date.html')
-rw-r--r--templates/macros/date.html3
1 files changed, 3 insertions, 0 deletions
diff --git a/templates/macros/date.html b/templates/macros/date.html
new file mode 100644
index 0000000..020b47e
--- /dev/null
+++ b/templates/macros/date.html
@@ -0,0 +1,3 @@
+{% macro format_date(date) %}
+{{ date | date(format="%d %h, %Y") }}
+{% endmacro format_date %}