From de554e4dac6552d369fe07f994b7511d93183f50 Mon Sep 17 00:00:00 2001 From: kim hanwoong Date: Thu, 4 Apr 2019 01:37:55 +0900 Subject: [PATCH] =?UTF-8?q?=EA=B8=B0=EB=B3=B8=EC=A0=81=EC=9C=BC=EB=A1=9C?= =?UTF-8?q?=20=EC=A0=84=EB=8B=AC=EC=9D=98=20=EB=8D=B0=EC=9D=B4=ED=84=B0?= =?UTF-8?q?=EB=A5=BC=20=EC=B2=B4=ED=81=AC=ED=95=9C=EB=8B=A4.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- git-hours.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/git-hours.go b/git-hours.go index 0e2291d..f69954c 100644 --- a/git-hours.go +++ b/git-hours.go @@ -45,8 +45,8 @@ func thisMonth() (string, string) { func main() { since, before := beforeMonth() - sincePtr := flag.String("since", since, "since(after) date") - beforePtr := flag.String("before", before, "before date") + sincePtr := flag.String("since", since+" 00:00:00 "+timeZoneOffset(), "since(after) date") + beforePtr := flag.String("before", before+" 23:59:59 "+timeZoneOffset(), "before date") authorPtr := flag.String("author", "", "author name") // git option : --author="\(Adam\)\|\(Jon\)" debugPtr := flag.Bool("debug", false, "debug mode") helpPtr := flag.Bool("help", false, "print help")