diff --git a/htdocs/webservices/server_productorservice.php b/htdocs/webservices/server_productorservice.php index d1fb254c46b..f9cc7334828 100755 --- a/htdocs/webservices/server_productorservice.php +++ b/htdocs/webservices/server_productorservice.php @@ -263,8 +263,8 @@ function getProductOrService($authentication,$id='',$ref='',$ref_ext='') 'ref_ext' => $product->ref_ext, 'label' => $product->label, 'description' => $product->description, - 'date_creation' => $product->date_creation, - 'date_modification' => $product->date_modification, + 'date_creation' => dol_print_date($product->date_creation,'dayhourrfc'), + 'date_modification' => dol_print_date($product->date_modification,'dayhourrfc'), 'note' => $product->note, 'status_tosell' => $product->status, 'status_tobuy' => $product->status_buy,