summaryrefslogtreecommitdiff
path: root/contrib
diff options
context:
space:
mode:
authorCraig Earls <enderw88@gmail.com>2013-07-10 14:40:09 -0700
committerCraig Earls <enderw88@gmail.com>2013-07-10 14:40:09 -0700
commit78e65ee4ab7f31eff707429c74b043819d016e1e (patch)
treeac4392ed54545267e49d745df3cff5de92ecb15c /contrib
parent8b80e5efc7c47f7813259d2a40a6cc25a440142a (diff)
parent524fdf7aba16bad6c701a5fa7ed7d019a876c340 (diff)
downloadfork-ledger-78e65ee4ab7f31eff707429c74b043819d016e1e.tar.gz
fork-ledger-78e65ee4ab7f31eff707429c74b043819d016e1e.tar.bz2
fork-ledger-78e65ee4ab7f31eff707429c74b043819d016e1e.zip
Merge pull request #199 from bkuhn/begin-date-wrong-general-ledger-report
The $formattedBeginDate should derive from $beginDate, not $endDate (duh...
Diffstat (limited to 'contrib')
-rwxr-xr-xcontrib/non-profit-audit-reports/general-ledger-report.plx2
1 files changed, 1 insertions, 1 deletions
diff --git a/contrib/non-profit-audit-reports/general-ledger-report.plx b/contrib/non-profit-audit-reports/general-ledger-report.plx
index dce855b4..0d6b28e6 100755
--- a/contrib/non-profit-audit-reports/general-ledger-report.plx
+++ b/contrib/non-profit-audit-reports/general-ledger-report.plx
@@ -58,7 +58,7 @@ $formattedEndDate = $formattedEndDate->calc($oneDayLess);
$formattedEndDate = $formattedEndDate->printf("%Y/%m/%d");
my $formattedBeginDate = new Date::Manip::Date;
-die "badly formatted end date, $endDate" if $formattedBeginDate->parse($endDate);
+die "badly formatted end date, $beginDate" if $formattedBeginDate->parse($beginDate);
$formattedBeginDate = $formattedBeginDate->printf("%Y/%m/%d");