fixes for some date parsing errors and typos

Tested on my system to resolve the parsing problems, please disregard the other suggestions.