Fix viewer filter not including the whole last day

This commit is contained in:
chylex 2022-03-20 21:18:06 +01:00
parent c03e2d328d
commit 461e403733
No known key found for this signature in database
GPG Key ID: 4DE42C8F19A80548

View File

@ -211,7 +211,7 @@ namespace DHT.Desktop.Main.Controls {
if (FilterByDate) {
filter.StartDate = StartDate;
filter.EndDate = EndDate;
filter.EndDate = EndDate?.AddDays(1).AddMilliseconds(-1);
}
if (FilterByChannel) {