From e3c7a8c4e9cb4293a1f884bd92d0dc64e1aad182 Mon Sep 17 00:00:00 2001 From: Rustem Date: Sat, 11 Jan 2025 15:19:04 +0500 Subject: [PATCH] date --- modules/auto/script.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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([