aboutsummaryrefslogtreecommitdiff
path: root/src/Text/Pandoc/Writers/Shared.hs
diff options
context:
space:
mode:
authorJesse Rosenthal <jrosenthal@jhu.edu>2016-07-09 11:13:25 -0400
committerJesse Rosenthal <jrosenthal@jhu.edu>2016-07-14 17:02:30 -0400
commit4816facee4d8d157a8436952d106f065742dc121 (patch)
tree85371024cb70e56f79586041ebc2120784fe28ed /src/Text/Pandoc/Writers/Shared.hs
parent8248dde2b70c3132ae9b75d01a04738ad9991f47 (diff)
downloadpandoc-4816facee4d8d157a8436952d106f065742dc121.tar.gz
Shared: Add further formats for `normalizeDate`
We want to avoid illegal dates -- in particular years with greater than four digits. We attempt to parse series of digits first as `%Y%m%d`, then `%Y%m`, and finally `%Y`.
Diffstat (limited to 'src/Text/Pandoc/Writers/Shared.hs')
0 files changed, 0 insertions, 0 deletions