Skip to content

Commit

Permalink
curation: tasks: fix updated filter
Browse files Browse the repository at this point in the history
  • Loading branch information
yashlamba committed Dec 12, 2024
1 parent 95d7fcd commit 0ce8ec1
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions site/zenodo_rdm/curation/tasks.py
Original file line number Diff line number Diff line change
Expand Up @@ -46,8 +46,9 @@ def run_eu_record_curation(since):
dsl.Q(
"range",
updated={
"gte": datetime.fromisoformat(since).isoformat()
- timedelta(hours=12),
"gte": (
datetime.fromisoformat(since) - timedelta(hours=12)
).isoformat(),
},
),
],
Expand Down

0 comments on commit 0ce8ec1

Please sign in to comment.