From f651120a143fa4a4887f173be275001ffe802265 Mon Sep 17 00:00:00 2001 From: rkfg Date: Sat, 19 Dec 2020 23:35:32 +0300 Subject: [PATCH] Fix build date layout --- cmd/build.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cmd/build.go b/cmd/build.go index e28276c..b871015 100644 --- a/cmd/build.go +++ b/cmd/build.go @@ -88,7 +88,7 @@ func build(cfg buildConfig, versionFlags string, wg *sync.WaitGroup) { } func versionFlags() string { - date := time.Now().Format("01-02-2006 15:04:05 -0700 MST") + date := time.Now().Format("02.01.2006 15:04:05 -0700 MST") result := fmt.Sprintf(`-X "main.date=%s"`, date) version := "" if tag, err := exec.Command("git", "tag", "--contains", "HEAD").Output(); err == nil && string(tag) != "" {