初等日期格式化调试7

master
zcstatham 2 years ago
parent 42edd38b81
commit 52ab262335
  1. 2
      extend/service/CarInfoHandle.php

@ -495,7 +495,7 @@ class CarInfoHandle
$register_date = date('Y-m-d', strtotime(trim(trim($register_date, '"')))); $register_date = date('Y-m-d', strtotime(trim(trim($register_date, '"'))));
$row_array[] = [ $row_array[] = [
'duty_no' => trim(trim($worksheet->getCellByColumnAndRow(1, $row)->getValue(), '"')), 'duty_no' => trim(trim($worksheet->getCellByColumnAndRow(1, $row)->getValue(), '"')),
'register_date' => date('Y-m-d', $register_date), 'register_date' => $register_date,
'car_man' => trim(trim($worksheet->getCellByColumnAndRow(3, $row)->getValue(), '"')), 'car_man' => trim(trim($worksheet->getCellByColumnAndRow(3, $row)->getValue(), '"')),
'car_number' => trim(trim($worksheet->getCellByColumnAndRow(4, $row)->getValue(), '"')), 'car_number' => trim(trim($worksheet->getCellByColumnAndRow(4, $row)->getValue(), '"')),
'car_phone' => trim(trim($worksheet->getCellByColumnAndRow(5, $row)->getValue(), '"')), 'car_phone' => trim(trim($worksheet->getCellByColumnAndRow(5, $row)->getValue(), '"')),

Loading…
Cancel
Save