fixing datetime format for proper iso