dedecms时间格式实现XX秒前、XX分钟前、XX天前
打开 /include/extend.func.php 在最下面加入个方法/** * 时间美化 * * @access public * @param string $time 时间戳 * @return string */if(!function_exists(tranTime)){function tranTime($time){$rtime = date("m-d H:i",$time);$htime = date("H:i",$time);$etime = ti...