diff options
author | ivan <ivan> | 2010-04-09 08:18:24 +0000 |
---|---|---|
committer | ivan <ivan> | 2010-04-09 08:18:24 +0000 |
commit | 2ab068f449eb97a10e18d20e9dab5ab9faa017e7 (patch) | |
tree | f1464912b3f3072cbb4290cfa2a4a26e32165676 /httemplate/edit/cust_pay.cgi | |
parent | 4125a128eaa40c751c89a69c2f9888463a78c6f3 (diff) |
fix date parsing when using international dates (package date edit), RT#8027
Diffstat (limited to 'httemplate/edit/cust_pay.cgi')
-rwxr-xr-x | httemplate/edit/cust_pay.cgi | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/httemplate/edit/cust_pay.cgi b/httemplate/edit/cust_pay.cgi index a6b73b13a..cc4ec605d 100755 --- a/httemplate/edit/cust_pay.cgi +++ b/httemplate/edit/cust_pay.cgi @@ -113,7 +113,7 @@ if ( $cgi->param('error') ) { $paid = $cgi->param('paid'); $payby = $cgi->param('payby'); $payinfo = $cgi->param('payinfo'); - $_date = $cgi->param('_date') ? str2time($cgi->param('_date')) : time; + $_date = $cgi->param('_date') ? parse_datetime($cgi->param('_date')) : time; } elsif ( $cgi->param('custnum') =~ /^(\d+)$/ ) { $link = $cgi->param('popup') ? 'popup' : 'custnum'; $linknum = $1; |