From 377a74e7b3ce9509f4802e69f3be600374bbb49b Mon Sep 17 00:00:00 2001 From: wwj31 Date: Wed, 27 Sep 2023 16:07:09 +0800 Subject: [PATCH] add the day of time --- tools/time.go | 2 ++ 1 file changed, 2 insertions(+) diff --git a/tools/time.go b/tools/time.go index 70fd97b..a156c73 100644 --- a/tools/time.go +++ b/tools/time.go @@ -9,7 +9,9 @@ import ( const ( SecondsPerDay = 24 * 60 * 60 + Day = 24 * time.Hour StdTimeLayout = "2006-01-02 15:04:05.000" + StdDateFormat = "2006-01-02" ) var (