Thanks for the reply. "this week" doesn't appear to work: mwri...@dunkel:~$ ledger -p "this week" While parsing option '--period' (-p): Error: Could not parse date mask: week
I'm using ledger from the ubuntu repository - is this out of date? mwri...@dunkel:~$ ledger -v Ledger 2.6.2, the command-line accounting tool Copyright (c) 2003-2009, John Wiegley. All rights reserved. This program is made available under the terms of the BSD Public License. See LICENSE file included with the distribution for details and disclaimer. (modules: gmp, pcre, xml) On Fri, Jan 1, 2010 at 6:27 PM, John Wiegley <[email protected]> wrote: > On Jan 1, 2010, at 5:04 PM, markscottwright wrote: > >> I'm trying to just see how much I spent eating out in the last week, >> and I'm a little stumped. I can use -W, but I don't care about >> previous weeks. I can use -b 2009/12/27, but then I have to calculate >> when "sunday" was. And '-b sunday' isn't doing what I expect: > > I will certainly hunt down why "sunday" and "last sunday" don't work as > expected. > > In the meantime, try -p "this week" and -p "last week". Weeks begin on > Sunday by default, but it can be changed by --start-of-week=DAY. > > John > > -- Mark Wright [email protected]
