QIF/CSV import date parsing code

Thomas Baumgart ipwizard at users.sourceforge.net
Tue Jul 10 09:34:33 EDT 2007


Hi all,

on Tuesday 10 July 2007 12:39, Benjamin Sperisen wrote:

> 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

You might find some more information about the problem here:

http://kmymoney2.sourceforge.net/online-manual/details.impexp.qifimp.html#id2512201

-- 

Regards

Thomas Baumgart

GPG-FP: E55E D592 F45F 116B 8429   4F99 9C59 DB40 B75D D3BA
-------------------------------------------------------------
A crash turns an expensive computer into a simple stone!
-------------------------------------------------------------
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 224 bytes
Desc: not available
Url : http://lists.gnucash.org/pipermail/gnucash-devel/attachments/20070710/f4907b0f/attachment.bin 


More information about the gnucash-devel mailing list