diff options
author | Bradley M. Kuhn <bkuhn@ebb.org> | 2013-07-10 17:14:26 -0400 |
---|---|---|
committer | Bradley M. Kuhn <bkuhn@ebb.org> | 2013-07-10 17:14:26 -0400 |
commit | 524fdf7aba16bad6c701a5fa7ed7d019a876c340 (patch) | |
tree | ac4392ed54545267e49d745df3cff5de92ecb15c /contrib | |
parent | 8b80e5efc7c47f7813259d2a40a6cc25a440142a (diff) | |
download | fork-ledger-524fdf7aba16bad6c701a5fa7ed7d019a876c340.tar.gz fork-ledger-524fdf7aba16bad6c701a5fa7ed7d019a876c340.tar.bz2 fork-ledger-524fdf7aba16bad6c701a5fa7ed7d019a876c340.zip |
The $formattedBeginDate should derive from $beginDate, not $endDate (duh!)
Diffstat (limited to 'contrib')
-rwxr-xr-x | contrib/non-profit-audit-reports/general-ledger-report.plx | 2 |
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"); |