fix to problem of parsing csv dates

closes #859