fix поля Дата

This commit is contained in:
2025-11-25 15:57:50 +05:00
parent 981078ede7
commit 9a3a9b0479

View File

@@ -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);
}
?>
}