Date formatting to fix import issues on hdp