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.

Auto-update example file

#61

Up until now, I've been manually filling the example file with some new transaction to make it "current". It is a rather boring and repetitive thing to do.

What I want to do is to have a special load method for the example file which would take all the transactions from the file and make them "current". It would shift the dates by month. If, for example, the latest date in the file is 2009/05/31 and we're on 2009/08/26, all transactions' date would be incremented by 3 months. The transactions on 29, 30 and 31 being incremented to a month they can't be in would have their day decremented until they fit their new month. Transactions after 2009/08/26 would be removed.

Reported by Virgil Dupras · August 26th, 2009 @ 02:49 PM

State: fixed
Milestone: v1.6
Assigned to: Virgil Dupras Virgil Dupras

Activity

  1. Virgil Dupras
    Virgil Dupras
    • State changed from new to open
    • Assigned user set to Virgil Dupras

    August 27th, 2009 @ 10:38 AM

  2. Virgil Dupras
    Virgil Dupras

    Hum, for transactions on 29, 30, 31, rather than lowering the date, it should rather "overflow" on the next month. There's the Salary thing that is a bi-weekly transaction, so if I want to keep this bi-weekly nature of the transaction, that's what I gotta do.

    August 27th, 2009 @ 10:55 AM

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

    (from [85]) [#61 Auto-update example file state:fixed] The example document is now adjusted to be current when loaded.

    August 27th, 2009 @ 01:43 PM

  4. Virgil Dupras
    Virgil Dupras
    • Tag cleared.

    [not-tagged:"task" bulk edit command]

    September 5th, 2009 @ 07:11 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.