From ae467e40d9eb827f23dfc424366f04a39cd30e43 Mon Sep 17 00:00:00 2001 From: eson Date: Wed, 9 Dec 2020 10:50:12 +0800 Subject: [PATCH] bug fix --- main.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/main.go b/main.go index 6cef24f..3099bfe 100644 --- a/main.go +++ b/main.go @@ -23,7 +23,7 @@ type CountLiveAnchors struct { } func getArgsStartTime() time.Time { - date := flag.Arg(0) + date := flag.Arg(1) if date == "" { panic("please input date eg. '2020-11-30 16:29:17'") }