After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 778982 - Move date parsing code to engine
Move date parsing code to engine
Status: RESOLVED FIXED
Product: GnuCash
Classification: Other
Component: Import - CSV
git-master
Other All
: Normal minor
: future
Assigned To: gnucash-import-maint
gnucash-import-maint
Depends on:
Blocks: 778981
 
 
Reported: 2017-02-20 21:32 UTC by Geert Janssens
Modified: 2018-06-29 23:54 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Geert Janssens 2017-02-20 21:32:26 UTC
The csv importer has a date parser that attempts to convert strings into dates using a regex that only cares about order of the date components (day, month, year), but not the separator character.

This code is probably useful for the other importers as well, so it should be made generally available in the engine code (or more precisely, qof code).
Comment 1 Geert Janssens 2017-05-03 16:00:42 UTC
This improvement has been implemented. Last commit was to complete this was
https://github.com/Gnucash/gnucash/commit/9af57849ba1bc6e954f6b5aae61ec85e4c09a0e2
Comment 2 John Ralls 2018-06-29 23:54:44 UTC
GnuCash bug tracking has moved to a new Bugzilla host. This bug has been copied to https://bugs.gnucash.org/show_bug.cgi?id=778982. Please update any external references or bookmarks.