Parse multiple date formats, fixes #1