FIX format of field with type timestamp
This commit is contained in:
parent
5b2ca3b631
commit
31648f856c
@ -6112,7 +6112,7 @@ abstract class CommonObject
|
|||||||
{
|
{
|
||||||
$morecss = 'minwidth100imp';
|
$morecss = 'minwidth100imp';
|
||||||
}
|
}
|
||||||
elseif ($type == 'datetime')
|
elseif ($type == 'datetime' || $type == 'timestamp')
|
||||||
{
|
{
|
||||||
$morecss = 'minwidth200imp';
|
$morecss = 'minwidth200imp';
|
||||||
}
|
}
|
||||||
@ -6156,7 +6156,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