Fix #2355 (date parsing with dashes)