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_')