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_main.cgi | |
parent | 4125a128eaa40c751c89a69c2f9888463a78c6f3 (diff) |
fix date parsing when using international dates (package date edit), RT#8027
Diffstat (limited to 'httemplate/edit/process/cust_main.cgi')
-rwxr-xr-x | httemplate/edit/process/cust_main.cgi | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/httemplate/edit/process/cust_main.cgi b/httemplate/edit/process/cust_main.cgi index f72ca0a81..1311ba4f3 100755 --- a/httemplate/edit/process/cust_main.cgi +++ b/httemplate/edit/process/cust_main.cgi @@ -98,7 +98,7 @@ foreach my $dfield (qw( birthdate signupdate )) { } else { - $parsed = str2time($value) + $parsed = parse_datetime($value) or $error ||= "Invalid $dfield: $value"; } |