mirror of
https://github.com/c9s/bbgo.git
synced 2024-11-21 22:43:52 +00:00
fix time range checking
This commit is contained in:
parent
4556e501da
commit
a78119b9ca
|
@ -119,7 +119,7 @@ func (sel SyncTask) execute(ctx context.Context, db *sqlx.DB, startTime time.Tim
|
|||
}
|
||||
|
||||
tt := sel.Time(obj)
|
||||
if tt.Before(startTime) || tt.Equal(endTime) || tt.After(endTime) {
|
||||
if tt.Before(startTime) || tt.After(endTime) {
|
||||
continue
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user