You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
datetime.utcnow() & datetime.utcfromtimestamp() are deprecated and I changed them to datetime.now(timezone.utc) & datetime.fromtimestamp(int(timestamp), timezone.utc) respectively.
Expected behavior
Should fix an error.
Additional context
This module doesn't rely on SendGrid webhook events which makes email tracking very limited.
The text was updated successfully, but these errors were encountered:
Since python12 utcfromtimestamp is deprecated which generate deprecation warnings
class TestMailTrackingEmailCleanUp(SavepointCaseWithUserDemo):
fixOCA#1445
There hasn't been any activity on this issue in the past 6 months, so it has been marked as stale and it will be closed automatically if no further activity occurs in the next 30 days.
If you want this issue to never become stale, please ask a PSC member to apply the "no stale" label.
Module
mail_tracking
Describe the bug
datetime.utcnow() & datetime.utcfromtimestamp() are deprecated and I changed them to datetime.now(timezone.utc) & datetime.fromtimestamp(int(timestamp), timezone.utc) respectively.
Expected behavior
Should fix an error.
Additional context
This module doesn't rely on SendGrid webhook events which makes email tracking very limited.
The text was updated successfully, but these errors were encountered: