From 7edf96278326219e9757b6c1954db062f9e25d61 Mon Sep 17 00:00:00 2001 From: Igor Pashev Date: Tue, 9 Jun 2020 21:22:39 +0200 Subject: Support dd.mm.yyyy date format --- lib/Hakyll/Web/Template/Context.hs | 3 +++ 1 file changed, 3 insertions(+) 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" ] -- cgit v1.2.3