Formatting
One more character so values >= 100.00 don't mess up the columns, at least up to 999.99. I hope nobody's actually parsing the logs with fixed character offsets.
This commit is contained in:
parent
a2e0512ff5
commit
b9c91c0054
1 changed files with 1 additions and 1 deletions
|
@ -117,7 +117,7 @@ sub as_loggable($self) {
|
|||
: sprintf("%s [%sx %s]", $_->{description}, $quantity, $_->{amount}->abs);
|
||||
|
||||
push @s, sprintf(
|
||||
"%-12s %4s %3d %5s # %s",
|
||||
"%-12s %4s %3d %6s # %s",
|
||||
$_->{user},
|
||||
($total->cents > 0 ? 'GAIN' : $total->cents < 0 ? 'LOSE' : '===='),
|
||||
$quantity,
|
||||
|
|
Loading…
Add table
Reference in a new issue