Skip to content

Commit

Permalink
Fix parsing start times after midday
Browse files Browse the repository at this point in the history
  • Loading branch information
rowanseymour committed Jun 13, 2022
1 parent 2577c9f commit 3912963
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cmd/rp-archiver/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ func main() {
}

// parse our start time
timeOfDay, err := dates.ParseTimeOfDay("hh:mm", config.StartTime)
timeOfDay, err := dates.ParseTimeOfDay("tt:mm", config.StartTime)
if err != nil {
logrus.WithError(err).Fatal("invalid start time supplied, format: HH:MM")
}
Expand Down

0 comments on commit 3912963

Please sign in to comment.