From 377d6dc290cf87b7114020d9a0f926d5a17b58e7 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 6b5c6dee643..6dfdff97415 100755 --- a/htdocs/webservices/server_productorservice.php +++ b/htdocs/webservices/server_productorservice.php @@ -261,8 +261,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,