• Модуль: tasks
  • Путь к файлу: ~/bitrix/modules/tasks/lib/grid/effective/row/content/date.php
  • Класс: Bitrix\Tasks\Grid\Effective\Row\Content\Date
  • Вызов: Date::formatDate
public function formatDate($date): string
{
	if (!$date)
	{
		return Loc::getMessage('TASKS_GRID_TASK_ROW_CONTENT_DATE_NOT_PRESENT') ?? '';
	}

	$timestamp = $this->getDateTimestamp($date);
	$format = UI::getHumanDateTimeFormat($timestamp);

	return UI::formatDateTime($timestamp, $format);
}