diff options
author | Craig Earls <enderw88@gmail.com> | 2013-07-10 14:40:09 -0700 |
---|---|---|
committer | Craig Earls <enderw88@gmail.com> | 2013-07-10 14:40:09 -0700 |
commit | 78e65ee4ab7f31eff707429c74b043819d016e1e (patch) | |
tree | ac4392ed54545267e49d745df3cff5de92ecb15c /contrib | |
parent | 8b80e5efc7c47f7813259d2a40a6cc25a440142a (diff) | |
parent | 524fdf7aba16bad6c701a5fa7ed7d019a876c340 (diff) | |
download | fork-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-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"); |