Fix date parsing: use explicit constructor instead of dash format.

E.g., new Date("2004-07-11") does not work under Safari and FF.