Improved fetchhistory() method to show past pickups from the same day
What does this MR do?
Improved fetchhistory()
method to show past pickups from the same day.
If 'today' is selected the to-date used to be set to 00:00 and didn't respect the past pickups from the same day. Now it's set to the current time (hour + full min) when the fetchhistory/"Abholungshistorie" is shown.
How confident are you it won't break things if deployed? Tests?
Should work. Just added a specific time without risky date calculations.
Links to related issues
None / feature.
Checklist
-
added a test, or explain why one is not needed/possible... -
no unrelated changes -
asked someone for a code review -
joined #foodsharing-beta channel at https://slackin.yunity.org -
added an entry to CHANGELOG.md (description, merge request link, username(s))
Edited by Chris Oelmueller