summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIgor Pashev <pashev.igor@gmail.com>2020-06-09 21:22:39 +0200
committerIgor Pashev <pashev.igor@gmail.com>2020-06-10 10:50:10 +0200
commit7edf96278326219e9757b6c1954db062f9e25d61 (patch)
treed30798a388f1f65b58557360a3c96219bd959d97
parent7351764e343d0d61e5ca01be4f13f0aab944db67 (diff)
downloadhakyll-7edf96278326219e9757b6c1954db062f9e25d61.tar.gz
Support dd.mm.yyyy date format
-rw-r--r--lib/Hakyll/Web/Template/Context.hs3
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/Hakyll/Web/Template/Context.hs b/lib/Hakyll/Web/Template/Context.hs
index 3f75466..9dd14ff 100644
--- a/lib/Hakyll/Web/Template/Context.hs
+++ b/lib/Hakyll/Web/Template/Context.hs
@@ -327,6 +327,8 @@ titleField = mapContext takeBaseName . pathField
--
-- * @2010-09-06@
--
+-- * @06.09.2010@
+--
-- * @September 06, 2010@
--
-- Alternatively, when the metadata has a field called @path@ in a
@@ -395,6 +397,7 @@ getItemUTC locale id' = do
, "%B %e, %Y %l:%M %p"
, "%B %e, %Y"
, "%b %d, %Y"
+ , "%d.%m.%Y"
]