diff options
author | Jasper Van der Jeugt <jaspervdj@gmail.com> | 2012-11-10 04:39:15 -0800 |
---|---|---|
committer | Jasper Van der Jeugt <jaspervdj@gmail.com> | 2012-11-10 04:39:15 -0800 |
commit | 2513e8eff65e64bd102647e0eb7eca5f4b1a3acf (patch) | |
tree | e8630985d1daa3bab2a3981553d41269fd043066 /src/Hakyll/Web | |
parent | e5c97d978bf34bdc98d97bf42ee2be29a5af4242 (diff) | |
parent | 0b7bfc72a1b5dafa2b63ca25ea0df9e22568455b (diff) | |
download | hakyll-2513e8eff65e64bd102647e0eb7eca5f4b1a3acf.tar.gz |
Merge pull request #93 from mloskot/short-date-fix
Added %Y-%m-%d format to enable short date parsing in metadata
Diffstat (limited to 'src/Hakyll/Web')
-rw-r--r-- | src/Hakyll/Web/Page/Metadata.hs | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/Hakyll/Web/Page/Metadata.hs b/src/Hakyll/Web/Page/Metadata.hs index 764022a..4528d78 100644 --- a/src/Hakyll/Web/Page/Metadata.hs +++ b/src/Hakyll/Web/Page/Metadata.hs @@ -186,6 +186,7 @@ getUTCMaybe locale page = msum $ [ "%a, %d %b %Y %H:%M:%S UT" , "%Y-%m-%dT%H:%M:%SZ" , "%Y-%m-%d %H:%M:%S" + , "%Y-%m-%d" , "%B %e, %Y %l:%M %p" , "%B %e, %Y" ] |