fix the buggy function parseRFC822DateTimeString

It wasn't fully splicing off everything it parsed.