From 6507e9246f90593c8f09ef67e4e216746f42912e Mon Sep 17 00:00:00 2001 From: einhverfr Date: Sat, 24 Mar 2007 20:28:43 +0000 Subject: fixing bug 1687532 git-svn-id: https://ledger-smb.svn.sourceforge.net/svnroot/ledger-smb/branches/1.2@1003 4979c152-3d1c-0410-bac9-87ea11338e46 --- LedgerSMB/Form.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'LedgerSMB') 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); -- cgit v1.2.3