diff options
author | ivan <ivan> | 2010-04-09 08:18:37 +0000 |
---|---|---|
committer | ivan <ivan> | 2010-04-09 08:18:37 +0000 |
commit | 9f351b4a4df08d607aa0d647709b06cbea1c5ffe (patch) | |
tree | 504132fe5313048901e56a16f92cd01830fe6e87 /httemplate/edit/process/cust_main.cgi | |
parent | 301a67b877de6e3e9b6e15f295f40be3a4e812c9 (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"; } |