mirror of
https://github.com/domainaware/parsedmarc.git
synced 2026-07-10 10:45:09 +00:00
Update launch configuration and metadata key for timespan in aggregate report
This commit is contained in:
Vendored
+2
-2
@@ -19,11 +19,11 @@
|
||||
"console": "integratedTerminal"
|
||||
},
|
||||
{
|
||||
"name": "sample.eml",
|
||||
"name": "sample",
|
||||
"type": "debugpy",
|
||||
"request": "launch",
|
||||
"module": "parsedmarc.cli",
|
||||
"args": ["samples/private/sample.eml"]
|
||||
"args": ["samples/private/sample"]
|
||||
},
|
||||
{
|
||||
"name": "sortlists.py",
|
||||
|
||||
@@ -721,7 +721,7 @@ def parse_aggregate_report_xml(
|
||||
new_report_metadata["begin_date"] = date_range["begin"]
|
||||
new_report_metadata["end_date"] = date_range["end"]
|
||||
new_report_metadata["timespan_requires_normalization"] = normalize_timespan
|
||||
new_report_metadata["original_span_seconds"] = span_seconds
|
||||
new_report_metadata["original_timespan_seconds"] = span_seconds
|
||||
begin_dt = human_timestamp_to_datetime(
|
||||
new_report_metadata["begin_date"], to_utc=True
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user