From c99c2087396f9740cfb61acccdc8d8775deb6ee3 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?=E3=83=9E=E3=83=AA=E3=82=A6=E3=82=B9?=
 <marius@xn--gckvb8fzb.com>
Date: Mon, 21 Nov 2022 20:38:12 -0500
Subject: [PATCH] Fix for time.Date nsec

---
 caldr.go | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/caldr.go b/caldr.go
index fd6d8e4..0038c19 100644
--- a/caldr.go
+++ b/caldr.go
@@ -232,7 +232,6 @@ func getStartEndByArgs(args []string) (time.Time, time.Time, error) {
 func getStartEndForDate(t time.Time) (time.Time, time.Time) {
 	y, m, d := t.Date()
 	sT := time.Date(y, m, d, 0, 0, 0, 0, t.Location())
-	eT := time.Date(y, m, d, 23, 59, 59, 9999999999, t.Location())
-
+	eT := time.Date(y, m, d, 23, 59, 59, 999999999, t.Location())
 	return sT, eT
 }