diff options
author | Jesse Rosenthal <jrosenthal@jhu.edu> | 2016-07-09 15:37:47 -0400 |
---|---|---|
committer | Jesse Rosenthal <jrosenthal@jhu.edu> | 2016-07-14 17:02:30 -0400 |
commit | bbfcd50fb14fa0754e564c99eec01763ba701400 (patch) | |
tree | 95dfe564f6763a57e601653029087c9d63acc360 /src/Text/Pandoc/Writers/FB2.hs | |
parent | 4816facee4d8d157a8436952d106f065742dc121 (diff) | |
download | pandoc-bbfcd50fb14fa0754e564c99eec01763ba701400.tar.gz |
Shared: normalizeDate should reject illegal years.
We only allow years between 1601 and 9999, inclusive. The ISO 8601
actually says that years are supposed to start with 1583, but MS Word
only allows 1601-9999. This should stop corrupted word files if the date
is out of that range, or is parsed incorrectly.
Diffstat (limited to 'src/Text/Pandoc/Writers/FB2.hs')
0 files changed, 0 insertions, 0 deletions