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")