From bd3bcefcc2fbca20b5871c7e2c99c3ed4f429d6a Mon Sep 17 00:00:00 2001 From: Leonardo Domingues Date: Tue, 7 Dec 2021 11:00:51 -0300 Subject: [PATCH] Type correction --- api/wingui/cli.go | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/api/wingui/cli.go b/api/wingui/cli.go index 4d22242..52105ff 100644 --- a/api/wingui/cli.go +++ b/api/wingui/cli.go @@ -2,7 +2,6 @@ package wingui import ( "fmt" - "time" "go.digitalcircle.com.br/open/replaycli-go/api" ) @@ -450,7 +449,7 @@ func (c *Cli) DialogColor(t, d string) (ret map[string]int, err error) { return ret, err } -func (c *Cli) DialogDate(t, m, d, f string) (ret time.Time, err error) { +func (c *Cli) DialogDate(t, m, d, f string) (ret string, err error) { err = c.HttpCli().JsonGet(fmt.Sprintf("/ipc/wingui/dialog/date?t=%s&m=%s&d=%s&f=%s", t, m, d, f), &ret) return ret, err }