未验证 提交 3842fb79 编写于 作者: Q qkqpttgf 提交者: GitHub

Update common.php

上级 4ef20bdf
......@@ -960,9 +960,9 @@ function size_format($byte)
function time_format($ISO)
{
if ($ISO=='') return date('Y-m-d H:i:s');
$ISO = str_replace('T', ' ', $ISO);
$ISO = str_replace('Z', ' ', $ISO);
//return $ISO;
return date('Y-m-d H:i:s',strtotime($ISO . " UTC"));
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册