Skip to content

Commit

Permalink
oai: only use date in from param
Browse files Browse the repository at this point in the history
  • Loading branch information
boutros committed Mar 13, 2019
1 parent 68af639 commit 788bd3b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion oai/harvester.go
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ func (h *Harvester) fetch() ([]Record, error) {
url += "&set=" + h.Set
}
if !h.From.IsZero() {
url += "&from=" + h.From.String()
url += "&from=" + h.From.Format("2006-01-02")
}
}
req, err := http.NewRequest("GET", url, nil)
Expand Down

0 comments on commit 788bd3b

Please sign in to comment.