From f1412c8ecf2deefaf749f6073bb71c36df2c2784 Mon Sep 17 00:00:00 2001 From: Ted Pearson Date: Tue, 11 Oct 2022 12:44:30 -0400 Subject: [PATCH] log start and end date --- internal/app/main.go | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/internal/app/main.go b/internal/app/main.go index 1b8c447..c9c6a1e 100644 --- a/internal/app/main.go +++ b/internal/app/main.go @@ -78,7 +78,8 @@ func Main() { // subtract N days and 1 minute to get the start date startDate = endDate.Add(time.Duration(-config.ExtractDays) * 48 * time.Hour).Add(time.Minute) } - + log.Printf("Start date: %s\n", startDate) + log.Printf("End date: %s\n", endDate) log.Println("Downloading CSV...") path, err := DownloadCsv(config, startDate.Format("01/02/2006"), endDate.Format("01/02/2006")) if err != nil {