Another try at correct date parsing.