From 0b7bfc72a1b5dafa2b63ca25ea0df9e22568455b Mon Sep 17 00:00:00 2001 From: Mateusz Loskot Date: Sat, 10 Nov 2012 12:34:16 +0000 Subject: Added %Y-%m-%d format to enable short date parsing in metadata. --- src/Hakyll/Web/Page/Metadata.hs | 1 + 1 file changed, 1 insertion(+) 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" ] -- cgit v1.2.3