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/process/cust_pay.cgi | |
parent | 4125a128eaa40c751c89a69c2f9888463a78c6f3 (diff) |
fix date parsing when using international dates (package date edit), RT#8027
Diffstat (limited to 'httemplate/edit/process/cust_pay.cgi')
-rwxr-xr-x | httemplate/edit/process/cust_pay.cgi | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/httemplate/edit/process/cust_pay.cgi b/httemplate/edit/process/cust_pay.cgi index a310c53..df506c6 100755 --- a/httemplate/edit/process/cust_pay.cgi +++ b/httemplate/edit/process/cust_pay.cgi @@ -39,7 +39,7 @@ $cgi->param('link') =~ /^(custnum|invnum|popup)$/ my $field = my $link = $1; $field = 'custnum' if $field eq 'popup'; -my $_date = str2time($cgi->param('_date')); +my $_date = parse_datetime($cgi->param('_date')); my $new = new FS::cust_pay ( { $field => $linknum, |