for data in data_records :
                                    document = data.value
                                    value = document['data'][field_name]['value']
                                    if not isinstance(value, datetime):
                                        document['data'][field_name]['value'] = datetime.strptime(value, DateField.DATE_DICTIONARY.get(date_format))