From d7c974487288ecc67a24283351b74af97e96cf25 Mon Sep 17 00:00:00 2001 From: zyx Date: Fri, 25 Oct 2019 16:07:08 +0800 Subject: [PATCH] =?UTF-8?q?=E6=89=B6=E6=8C=81=E5=8F=B7=E6=97=B6=E9=97=B4?= =?UTF-8?q?=E6=A0=BC=E5=BC=8F=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Application/Admin/Controller/TestResourceController.class.php | 2 +- Application/Home/Controller/TestResourceController.class.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Application/Admin/Controller/TestResourceController.class.php b/Application/Admin/Controller/TestResourceController.class.php index 2c5e77a50..538bfd9e1 100644 --- a/Application/Admin/Controller/TestResourceController.class.php +++ b/Application/Admin/Controller/TestResourceController.class.php @@ -47,7 +47,7 @@ class TestResourceController extends ThinkController ->select(); foreach ($data as $key => $value) { - $data[$key]['create_time'] = date('Y-m-d H:m:i',$value['create_time']); + $data[$key]['create_time'] = date('Y-m-d H:i:s',$value['create_time']); } $count = M('test_resource','tab_') diff --git a/Application/Home/Controller/TestResourceController.class.php b/Application/Home/Controller/TestResourceController.class.php index 07235c397..266a7b42e 100644 --- a/Application/Home/Controller/TestResourceController.class.php +++ b/Application/Home/Controller/TestResourceController.class.php @@ -47,7 +47,7 @@ class TestResourceController extends BaseController ->select(); foreach ($data as $key => $value) { - $data[$key]['create_time'] = date('Y-m-d H:m:i',$value['create_time']); + $data[$key]['create_time'] = date('Y-m-d H:i:s',$value['create_time']); } $count = M('test_resource','tab_')