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 28dc75c
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
2 changes: 1 addition & 1 deletion site/zenodo_rdm/curation/config.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
# ZenodoRDM is free software; you can redistribute it and/or modify
# it under the terms of the MIT License; see LICENSE file for more details.

"""Moderation config."""
"""Curation config."""

from .rules import (
additional_desc_contains_high_conf_keywords,
Expand Down
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 28dc75c

Please sign in to comment.