From 3842fb79529539dfb9708db84fe1aae687a26b0f Mon Sep 17 00:00:00 2001 From: qkqpttgf <45693631+qkqpttgf@users.noreply.github.com> Date: Sun, 23 Aug 2020 19:25:36 +0800 Subject: [PATCH] Update common.php --- common.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/common.php b/common.php index 0753402..c6017c2 100644 --- a/common.php +++ b/common.php @@ -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")); }