Skip to content

Commit

Permalink
log start and end date
Browse files Browse the repository at this point in the history
  • Loading branch information
tedpearson committed Oct 11, 2022
1 parent c085ef4 commit f1412c8
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion internal/app/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down

0 comments on commit f1412c8

Please sign in to comment.