FIX format of field with type timestamp
This commit is contained in:
parent
f210e286bd
commit
d663657f15
@ -6056,7 +6056,7 @@ abstract class CommonObject
|
|||||||
{
|
{
|
||||||
$morecss = 'minwidth100imp';
|
$morecss = 'minwidth100imp';
|
||||||
}
|
}
|
||||||
elseif ($type == 'datetime')
|
elseif ($type == 'datetime' || $type == 'timestamp')
|
||||||
{
|
{
|
||||||
$morecss = 'minwidth200imp';
|
$morecss = 'minwidth200imp';
|
||||||
}
|
}
|
||||||
@ -6100,7 +6100,7 @@ abstract class CommonObject
|
|||||||
$value='';
|
$value='';
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
elseif ($type == 'datetime')
|
elseif ($type == 'datetime' || $type == 'timestamp')
|
||||||
{
|
{
|
||||||
if(! empty($value)) {
|
if(! empty($value)) {
|
||||||
$value=dol_print_date($value, 'dayhour');
|
$value=dol_print_date($value, 'dayhour');
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user