From 6803c68ebf64c8d103716bea8391ef14a6a6c5ce Mon Sep 17 00:00:00 2001 From: Laurent Destailleur Date: Wed, 17 Oct 2012 15:53:45 +0200 Subject: [PATCH] Fix: Bad date format --- htdocs/webservices/server_productorservice.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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,