From 92a35d8e4f075dd2cb3a5175f2c440d3e72fce3a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=90=91=E6=9E=97?= Date: Thu, 4 Nov 2021 16:37:27 +0800 Subject: [PATCH] =?UTF-8?q?=E6=94=B9=E5=90=8D?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- function.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/function.php b/function.php index 2e302aec..3e003fe5 100644 --- a/function.php +++ b/function.php @@ -110,7 +110,7 @@ if (!function_exists('now')) { */ function now(): string { - return date('Y-m-d H:i:s') . '.' . str_replace('0.', '', (string)microtime(true)); + return date('Y-m-d H:i:s') . '.' . str_replace(time() . '.', '', (string)microtime(true)); } }