Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Deprecated datetime module function fix #1445

Open
lexe11 opened this issue Sep 18, 2024 · 0 comments
Open

Deprecated datetime module function fix #1445

lexe11 opened this issue Sep 18, 2024 · 0 comments
Labels

Comments

@lexe11
Copy link

lexe11 commented Sep 18, 2024

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.

@lexe11 lexe11 added the bug label Sep 18, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant