revert time range check change, it's the same lol

This commit is contained in:
c9s 2022-06-23 17:59:46 +08:00
parent a78119b9ca
commit 7b60e34821
No known key found for this signature in database
GPG Key ID: 7385E7E464CB0A54

View File

@ -93,9 +93,7 @@ func (q *AsyncTimeRangedBatchQuery) Query(ctx context.Context, ch interface{}, s
for i := 0; i < listLen; i++ {
item := listRef.Index(i)
entryTime := q.T(item.Interface())
// inclusive time selection
if startTime.After(entryTime) || endTime.Before(entryTime) {
if entryTime.Before(startTime) || entryTime.After(endTime) {
continue
}