From a1694352d6430f11d08f4804d0966a0d358f0107 Mon Sep 17 00:00:00 2001 From: "Ed (ODSC)" Date: Wed, 2 Oct 2024 15:04:37 +0100 Subject: [PATCH] checks.py: Add diagnostic values --- libcovebods/tasks/checks.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/libcovebods/tasks/checks.py b/libcovebods/tasks/checks.py index 2d35942..14dde73 100644 --- a/libcovebods/tasks/checks.py +++ b/libcovebods/tasks/checks.py @@ -874,6 +874,7 @@ def check_statement_first_pass(self, statement): { "type": "statement_annotation_creation_date_is_future_date", "statement_type": None, + "creation_date": creation_date.strftime("%Y-%m-%d"), "statement": statement.get("statementId"), } ) @@ -902,6 +903,7 @@ def check_statement_first_pass(self, statement): { "type": "statement_publication_date_is_future_date", "statement_type": None, + "publication_date": publication_date.strftime("%Y-%m-%d"), "statement": statement.get("statementId"), } )