summaryrefslogtreecommitdiff
path: root/httemplate/edit/process/quick-cust_pkg.cgi
diff options
context:
space:
mode:
authorivan <ivan>2010-04-09 08:18:37 +0000
committerivan <ivan>2010-04-09 08:18:37 +0000
commit9f351b4a4df08d607aa0d647709b06cbea1c5ffe (patch)
tree504132fe5313048901e56a16f92cd01830fe6e87 /httemplate/edit/process/quick-cust_pkg.cgi
parent301a67b877de6e3e9b6e15f295f40be3a4e812c9 (diff)
fix date parsing when using international dates (package date edit), RT#8027
Diffstat (limited to 'httemplate/edit/process/quick-cust_pkg.cgi')
-rw-r--r--httemplate/edit/process/quick-cust_pkg.cgi2
1 files changed, 1 insertions, 1 deletions
diff --git a/httemplate/edit/process/quick-cust_pkg.cgi b/httemplate/edit/process/quick-cust_pkg.cgi
index 7a0f08280..7066a74fe 100644
--- a/httemplate/edit/process/quick-cust_pkg.cgi
+++ b/httemplate/edit/process/quick-cust_pkg.cgi
@@ -50,7 +50,7 @@ my $cust_pkg = new FS::cust_pkg {
'custnum' => $custnum,
'pkgpart' => $pkgpart,
'start_date' => ( scalar($cgi->param('start_date'))
- ? str2time($cgi->param('start_date'))
+ ? parse_datetime($cgi->param('start_date'))
: ''
),
'refnum' => $refnum,