mirror of
https://github.com/domainaware/parsedmarc.git
synced 2026-02-20 08:16:25 +00:00
Compare commits
2 Commits
copilot/op
...
copilot/fi
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
b1e76c8569 | ||
|
|
a5de313a57 |
@@ -1948,8 +1948,8 @@ def get_dmarc_reports_from_mailbox(
|
||||
"Only days and weeks values in 'since' option are \
|
||||
considered for IMAP connections. Examples: 2d or 1w"
|
||||
)
|
||||
since = (datetime.now(timezone.utc) - timedelta(minutes=_since)).date()
|
||||
current_time = datetime.now(timezone.utc).date()
|
||||
since = (datetime.now(timezone.utc) - timedelta(minutes=_since)).strftime("%d-%b-%Y")
|
||||
current_time = datetime.now(timezone.utc).strftime("%d-%b-%Y")
|
||||
elif isinstance(connection, MSGraphConnection):
|
||||
since = (
|
||||
datetime.now(timezone.utc) - timedelta(minutes=_since)
|
||||
|
||||
Reference in New Issue
Block a user