mirror of
https://github.com/devcode-it/openstamanager.git
synced 2025-01-23 12:29:58 +01:00
Fix visualizzazione colonne timestamp
This commit is contained in:
parent
a47b41d0aa
commit
3cd9aec92d
@ -96,13 +96,13 @@ if (!empty($query)) {
|
||||
|
||||
// Formattazione automatica
|
||||
if (!empty($total['format'][$pos]) && !empty($value)) {
|
||||
if (formatter()->isStandardDate($value)) {
|
||||
if (formatter()->isStandardTimestamp($value)) {
|
||||
$value = Translator::timestampToLocale($value);
|
||||
} elseif (formatter()->isStandardDate($value)) {
|
||||
$value = Translator::dateToLocale($value);
|
||||
} elseif (formatter()->isStandardTime($value)) {
|
||||
$value = Translator::timeToLocale($value);
|
||||
} elseif (formatter()->isStandardTimestamp($value)) {
|
||||
$value = Translator::timestampToLocale($value);
|
||||
} elseif (formatter()->isStandardNumber($value)) {
|
||||
} elseif (formatter()->isStandardNumber($value)) {
|
||||
$value = Translator::numberToLocale($value);
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user