mirror of
https://github.com/gristlabs/grist-core.git
synced 2025-06-13 20:53:59 +00:00
Summary: Our date-guessing logic analyzes text in full looking for date parts. This diff skip all that work when text is so long that we don't need to consider it to be a valid date. This is a quick fix. There are probably many other cases when we don't need to try hard to parse arbitrary text as dates. Test Plan: Added a fixture and test case that would trigger the error without the fix. Reviewers: paulfitz Subscribers: paulfitz Differential Revision: https://phab.getgrist.com/D2992 |
||
|---|---|---|
| .. | ||
| fixtures | ||
| __init__.py | ||
| dateguess.py | ||
| import_csv.py | ||
| import_json.py | ||
| import_utils.py | ||
| import_xls.py | ||
| register.py | ||
| test_dateguess.py | ||
| test_import_csv.py | ||
| test_import_json.py | ||
| test_import_xls.py | ||
| test_messytables.py | ||