RT#40056 Export DIDs to portaone switch [activation_date format fix]
authorJonathan Prykop <jonathan@freeside.biz>
Mon, 28 Mar 2016 23:03:17 +0000 (18:03 -0500)
committerJonathan Prykop <jonathan@freeside.biz>
Mon, 28 Mar 2016 23:03:17 +0000 (18:03 -0500)
FS/FS/part_export/portaone.pm

index 2625c57..2654e1c 100644 (file)
@@ -139,7 +139,7 @@ sub _export_insert {
           'i_customer' => $i_customer,
           'iso_4217' => ($conf->config('currency') || 'USD'),
           'i_product' => $product_id,
-          'activation_date' => time2str("%Y-%m-%d %H:%M:%S",time),
+          'activation_date' => time2str("%Y-%m-%d",time),
           'billing_model'   => 1, # '1' for credit, '-1' for debit, could make this an export option
         }
       },'i_account');