git.iko.soy/typeable/pandoc
on master help sign in
Shared: Add further formats for `normalizeDate`
4816facJesse Rosenthal
src/Text/Pandoc/Shared.hs+2−1
@@ -335,7 +335,8 @@ normalizeDate s = fmap (formatTime defaultTimeLocale "%F")
335 parseTime defaultTimeLocale
335 parseTime defaultTimeLocale
336#endif
336#endif
337 formats = ["%x","%m/%d/%Y", "%D","%F", "%d %b %Y",
337 formats = ["%x","%m/%d/%Y", "%D","%F", "%d %b %Y",
338− "%d %B %Y", "%b. %d, %Y", "%B %d, %Y", "%Y"]
338+ "%d %B %Y", "%b. %d, %Y", "%B %d, %Y",
339+ "%Y%m%d", "%Y%m", "%Y"]
339
340
340--
341--
341-- Pandoc block and inline list processing
342-- Pandoc block and inline list processing