fix поля Дата
This commit is contained in:
@@ -46,7 +46,8 @@
|
||||
|
||||
if ($tpl_empty)
|
||||
{
|
||||
$value = pretty_date(strftime(TIME_FORMAT, $field_value));
|
||||
// Используем глобальную ave_date_format и приводим к (int)
|
||||
$value = pretty_date(ave_date_format(TIME_FORMAT, (int)$field_value));
|
||||
}
|
||||
else
|
||||
{
|
||||
@@ -81,7 +82,8 @@
|
||||
|
||||
if ($tpl_empty)
|
||||
{
|
||||
$value = pretty_date(strftime(TIME_FORMAT, $field_value));
|
||||
// Используем глобальную ave_date_format и приводим к (int)
|
||||
$value = pretty_date(ave_date_format(TIME_FORMAT, (int)$field_value));
|
||||
}
|
||||
else
|
||||
{
|
||||
@@ -125,5 +127,4 @@
|
||||
|
||||
}
|
||||
return ($res ? $res : $field_value);
|
||||
}
|
||||
?>
|
||||
}
|
||||
Reference in New Issue
Block a user