From ed692073cf0a8fd5401f8ec96d38623cf6d63a7a Mon Sep 17 00:00:00 2001 From: "Mr.Li" Date: Thu, 6 Apr 2023 20:35:11 +0800 Subject: [PATCH] =?UTF-8?q?=E7=A7=BB=E5=87=BA=E4=B8=8D=E4=BD=BF=E7=94=A8?= =?UTF-8?q?=E7=9A=84=E4=BB=A3=E7=A0=81?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- cmd/cmd/export.go | 1 + cmd/cmd/root.go | 2 -- cmd/main.go | 1 - 3 files changed, 1 insertion(+), 3 deletions(-) diff --git a/cmd/cmd/export.go b/cmd/cmd/export.go index 1b15922..3092265 100644 --- a/cmd/cmd/export.go +++ b/cmd/cmd/export.go @@ -72,6 +72,7 @@ func TaskExport(d export.DataFetcher, t config.Task, params map[string]interface } params["last"] = last + time.Sleep(time.Microsecond * 30) } return nil } diff --git a/cmd/cmd/root.go b/cmd/cmd/root.go index 39dc804..9bee009 100644 --- a/cmd/cmd/root.go +++ b/cmd/cmd/root.go @@ -31,8 +31,6 @@ func Execute() { } func rootRun(cmd *cobra.Command, args []string) { - - fmt.Println(args) c := config.DefaultConfig sName := cmd.Flag("system").Value.String() diff --git a/cmd/main.go b/cmd/main.go index 3ced8c8..f597d30 100644 --- a/cmd/main.go +++ b/cmd/main.go @@ -16,7 +16,6 @@ func main() { Location: time.UTC, ExcelTimeFormat: "yyyy-m-d h:mm:ss", } - xlsx.DefaultDateTimeFormat = "" path, _ := os.Getwd() Config = config.LoadConfig(path + "/config")