Skip to content
This repository
Browse code

Fix dates from XLS files being imported incorrectly.

  • Loading branch information...
commit d27963dbba96a564efdd02415d28a75eec07aff5 1 parent e324440
Christopher Groskopf onyxfish authored

Showing 2 changed files with 3 additions and 2 deletions. Show diff stats Hide diff stats

  1. +1 0  CHANGELOG
  2. +2 2 panda/tasks/import_xls.py
1  CHANGELOG
... ... @@ -1,6 +1,7 @@
1 1 1.0.2
2 2 -----
3 3
  4 +* Fix bug causing dates in XLS files to be imported as numbers.
4 5 * Fix unescaped names in subscription dialogs.
5 6
6 7 1.0.1
4 panda/tasks/import_xls.py
@@ -69,8 +69,8 @@ def run(self, dataset_slug, upload_id, external_id_field_index=None, *args, **kw
69 69 if external_id_field_index is not None:
70 70 external_id = values[external_id_field_index]
71 71
72   - data = utils.solr.make_data_row(dataset, values, data_upload=upload, external_id=external_id)
73   - data = data_typer(data, values)
  72 + data = utils.solr.make_data_row(dataset, normal_values, data_upload=upload, external_id=external_id)
  73 + data = data_typer(data, normal_values)
74 74
75 75 add_buffer.append(data)
76 76

0 comments on commit d27963d

Please sign in to comment.
Something went wrong with that request. Please try again.