Skip to content

Commit c2934ba

Browse files
committed
chg(biomark): incorrect date range
1 parent 4de52f1 commit c2934ba

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

src/datasync/pit_registering_salmon.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -327,8 +327,8 @@ def run(
327327
)
328328

329329
if yesterday:
330-
begin_date = (datetime.today() - timedelta(days=2)).strftime("%Y-%m-%d")
331-
end_date = (datetime.today() - timedelta(days=1)).strftime("%Y-%m-%d")
330+
begin_date = (datetime.today() - timedelta(days=1)).strftime("%Y-%m-%d")
331+
end_date = (datetime.today()).strftime("%Y-%m-%d")
332332
log.info("Setting date range to yesterday", date=begin_date)
333333

334334
if all_locations:

0 commit comments

Comments
 (0)