Lighthouse has a new layout. Prefer the old one? Return to the old layout, and switch back any time from the link at the top of each page.

Allow space separator in date parsing in import

#324

One of my banks produces CSV files with dates in the following format: "04 APR 2012"
moneyGuru does not like this because the separator is a space, rather than a hyphen '-' or forwardslash '/' character.

If it doesn't break any other functionality of the CSV parsing, it'd be useful for me if moneyGuru could allow space separators for dates

(to be honest it's only an issue for me because of the other bug I reported in QIF importing, but seems general enough to me that it might be useful to others too)

Reported by frog · April 9th, 2012 @ 08:02 AM

State: fixed
Milestone: none
Assigned to: Virgil Dupras Virgil Dupras

Activity

  1. Virgil Dupras
    Virgil Dupras
    • State changed from new to accepted
    • Tag changed from import to feature, import

    If it exists somewhere, it's worth supporting.

    April 10th, 2012 @ 05:00 PM

  2. Virgil Dupras
    Virgil Dupras
    • Assigned user set to Virgil Dupras

    September 13th, 2012 @ 04:17 PM

  3. Virgil Dupras
    Virgil Dupras
    • State changed from accepted to fixed

    (from [26431e6aad84]) [#324 Allow space separator in date parsing in import state:fixed] Added spaces as a possible date element separator in date format guessing routine. https://bitbucket.org/hsoft/moneyguru/changeset/26431e6aad84/

    September 13th, 2012 @ 04:30 PM

  4. Virgil Dupras
    Virgil Dupras

    (from [4d76edec957f]) [#324 Allow space separator in date parsing in import] Fixed the bogus commit previously fixing this ticket.

    First, I hadn't noticed that there was already a higher-level, more proper place for date format guessing tests in import_test, so I didn't put the test in the right place. Moreover, the test being more high level revealed that I didn't adjust the regexp for possibly correct dates, which I do in this commit.
    https://bitbucket.org/hsoft/moneyguru/changeset/4d76edec957f/

    September 14th, 2012 @ 05:49 PM

Please Sign in or create a free account to add a new ticket.

With your very own profile, you can contribute to projects, track your activity, watch tickets, receive and update tickets through your email and much more.