Fixed bug in DateParser (off-by-one).