QIF/CSV import date parsing code
Benjamin Sperisen
lasindi at gmail.com
Tue Jul 10 06:39:46 EDT 2007
Hi Chintan,
I think I'm at the point with the CSV import where I would be ready to
integrate a date parser that could be used by both the QIF and CSV
imports, so I was just wondering how far you are as far as date
parsing code is concerned. I'm happy to write the date parsing
function, but I thought I better check with you to make sure we don't
independently write the same code twice. ;-)
So, if you've already started on one, just tell me and I'll start
tracking it. If not, is it alright with you if I write it? It would
probably have a prototype like:
time_t gnc_parse_date(char* str, int format);
where format is in an enumeration containing the formats d-m-y, m-d-y,
y-m-d, and y-d-m. (See Derek's email for how it would work:
https://lists.gnucash.org/pipermail/gnucash-devel/2007-July/020948.html)
This does depend, however, on how big of a problem the issue Thomas
raised is (https://lists.gnucash.org/pipermail/gnucash-devel/2007-July/020950.html).
In any case, just let me know what you think.
Thanks,
Benny
More information about the gnucash-devel
mailing list