diff --git a/Application/Common/Common/extend.php b/Application/Common/Common/extend.php index 7fe9e4803..36e236668 100644 --- a/Application/Common/Common/extend.php +++ b/Application/Common/Common/extend.php @@ -1691,17 +1691,18 @@ function array_order($arr){ */ function set_show_time($time = null,$type='time',$tab_type=''){ $date = ""; - switch ($type) { - case 'date': - $date = date('Y-m-d ',$time); - break; - case 'time': - $date = date('Y-m-d H:i',$time); - break; - default: - $date = date('Y-m-d H:i:s',$time); - break; - } + // switch ($type) { + // case 'date': + // $date = date('Y-m-d ',$time); + // break; + // case 'time': + // $date = date('Y-m-d H:i',$time); + // break; + // default: + // $date = date('Y-m-d H:i:s',$time); + // break; + // } + $date = date('Y-m-d H:i:s',$time); if(empty($time)){//若为空 根据不同情况返回 if($tab_type==''){ return "暂无登录";