Skip to content
Snippets Groups Projects
Commit b95ea980 authored by meskio's avatar meskio :tent:
Browse files

Use transaction end dates as the end of the day

parent c9f1899b
No related branches found
No related tags found
No related merge requests found
......@@ -58,6 +58,7 @@ func (d *DB) ListTransactions(query map[string][]string) (transactions []Transac
case "end-date":
var date time.Time
date, err = time.Parse(dateLayout, v[0])
date = date.Add(24 * time.Hour)
if err != nil {
return
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment