From 211c8342b35bc49b3a1f10ead2cf274336a33705 Mon Sep 17 00:00:00 2001 From: Naitik Shah Date: Mon, 7 Oct 2013 22:57:59 -0700 Subject: [PATCH] use time.Now for timeInPast --- grace.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/grace.go b/grace.go index 1fe26ee..c2708f1 100644 --- a/grace.go +++ b/grace.go @@ -24,7 +24,7 @@ var ( ErrAlreadyClosed = errors.New("already closed") // Time in the past to trigger immediate deadline. - timeInPast = time.Date(1983, time.November, 6, 0, 0, 0, 0, time.UTC) + timeInPast = time.Now() ) const (