private function getPrettyLongDate($date) { if (empty($date)) { return ''; } return Date::factory($date)->getLocalized(Date::DATE_FORMAT_LONG); }