FIX format of field with type timestamp

This commit is contained in:
Laurent Destailleur 2019-08-04 13:04:37 +02:00
parent f210e286bd
commit d663657f15

View File

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