FIX format of field with type timestamp

This commit is contained in:
Laurent Destailleur 2019-08-04 13:04:37 +02:00
parent 5b2ca3b631
commit 31648f856c

View File

@ -6112,7 +6112,7 @@ abstract class CommonObject
{
$morecss = 'minwidth100imp';
}
elseif ($type == 'datetime')
elseif ($type == 'datetime' || $type == 'timestamp')
{
$morecss = 'minwidth200imp';
}
@ -6156,7 +6156,7 @@ abstract class CommonObject
$value='';
}
}
elseif ($type == 'datetime')
elseif ($type == 'datetime' || $type == 'timestamp')
{
if(! empty($value)) {
$value=dol_print_date($value, 'dayhour');