Improve parsing of alternate date formats