diff --git a/modules/auto/script.php b/modules/auto/script.php index 4c0073d..39022af 100644 --- a/modules/auto/script.php +++ b/modules/auto/script.php @@ -69,7 +69,7 @@ return new class extends \A7kz\Platform\Commands\InstallScript { $car->state_number = $value['ГосНомер']; $car->manufacture_year = $this->formatDate($value['ГодПроизводства']); $car->passport_number = $value['НомерТехПаспорта']; - $car->passport_date = $value['ДатаТехпаспорта']; + $car->passport_date = $this->formatDate($value['ДатаТехпаспорта']); $car->estimated_cost = $value['ОценочнаяСтоимость']; $owner = UniModel::model('pipi_owners', $segment->connector) ->firstOrCreate([