fixed date formatting for csv export