summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoreinhverfr <einhverfr@4979c152-3d1c-0410-bac9-87ea11338e46>2007-03-24 20:28:43 +0000
committereinhverfr <einhverfr@4979c152-3d1c-0410-bac9-87ea11338e46>2007-03-24 20:28:43 +0000
commit6507e9246f90593c8f09ef67e4e216746f42912e (patch)
treed6c2447913b7aecf9259d7c6dd976685672d03f8
parent6d7ad70164576736bbb510bbfe33d9ed38ea8bac (diff)
fixing bug 1687532
git-svn-id: https://ledger-smb.svn.sourceforge.net/svnroot/ledger-smb/branches/1.2@1003 4979c152-3d1c-0410-bac9-87ea11338e46
-rwxr-xr-xLedgerSMB/Form.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/LedgerSMB/Form.pm b/LedgerSMB/Form.pm
index 86ecad77..372a615c 100755
--- a/LedgerSMB/Form.pm
+++ b/LedgerSMB/Form.pm
@@ -3024,7 +3024,7 @@ sub from_to {
}
$mm--;
- @t = localtime(timelocal(0,0,0,$dd,$mm,$yy) - $bd);
+ @t = localtime(Time::Local::timelocal(0,0,0,$dd,$mm,$yy) - $bd);
$t[4]++;
$t[4] = substr("0$t[4]",-2);