Re: Ledger 'print' converts hours to seconds

2014-03-05 Thread Pascal Fleury
Ok that's fine. I can live with hr :-) Thanks for the help! Le 4 mars 2014 19:18, John Wiegley jo...@newartisans.com a écrit : Craig Earls ender...@gmail.com writes: I think that might be the only commodity that actually has meaning in ledger. Yes, and the only reason it does is for

Re: Ledger 'print' converts hours to seconds

2014-03-04 Thread Craig Earls
I think that might be the only commodity that actually has meaning in ledger. On Mon, Mar 3, 2014 at 10:18 PM, John Wiegley jo...@newartisans.com wrote: Pascal Fleury pas...@telefleuries.com writes: so I ask again: besides me using 'hr' instead of 'h', is there a way to tell it to keep hours

Re: Ledger 'print' converts hours to seconds

2014-03-03 Thread Pascal Fleury
Actually, it does not exactly do the same thing. The interesting feature of print without --raw is that it aligns the columns of numbers nicely. but it converts 'h' to minutes as described before. With the --raw it mostly does not touch the file's formatting. so I ask again: besides me using 'hr'

Re: Ledger 'print' converts hours to seconds

2014-02-25 Thread Pascal Fleury
Indeed it does. Don't know why I missed it... Thank you! Pascal Le 23 févr. 2014 01:29, John Wiegley jwieg...@gmail.com a écrit : I'm pretty sure than the --raw options preserving exactly the format used for amounts in the ledger file. John (from my iPhone) On Feb 22, 2014, at 5:14 PM,

Ledger 'print' converts hours to seconds

2014-02-22 Thread Pascal Fleury
Hi, I am using 'ledger print' to cleanup/format/sort my journal file. It mostly works fine, but I am tracking my use of hourly rented cars (think Zipcar in the US, known as Mobility in Switzerland). These are charged by hour and by mileage. A typical transaction looks like this: 2014/01/30 *

Re: Ledger 'print' converts hours to seconds

2014-02-22 Thread John Wiegley
I'm pretty sure than the --raw options preserving exactly the format used for amounts in the ledger file. John (from my iPhone) On Feb 22, 2014, at 5:14 PM, Pascal Fleury pas...@telefleuries.com wrote: Hi, I am using 'ledger print' to cleanup/format/sort my journal file. It mostly