-Fixed off-by-one errors for date parsing.
Merge pull request #993 from mmcguinn/mm992

-Fixed off-by-one errors for date parsing.