diff options
author | Igor Pashev <pashev.igor@gmail.com> | 2020-06-09 21:22:39 +0200 |
---|---|---|
committer | Igor Pashev <pashev.igor@gmail.com> | 2020-06-10 10:50:10 +0200 |
commit | 7edf96278326219e9757b6c1954db062f9e25d61 (patch) | |
tree | d30798a388f1f65b58557360a3c96219bd959d97 /lib/Hakyll/Web | |
parent | 7351764e343d0d61e5ca01be4f13f0aab944db67 (diff) | |
download | hakyll-7edf96278326219e9757b6c1954db062f9e25d61.tar.gz |
Support dd.mm.yyyy date format
Diffstat (limited to 'lib/Hakyll/Web')
-rw-r--r-- | lib/Hakyll/Web/Template/Context.hs | 3 |
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" ] |