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

Fix the deprecation status of the datetime library usage #151

Open
gridhead opened this issue Jan 16, 2025 · 0 comments
Open

Fix the deprecation status of the datetime library usage #151

gridhead opened this issue Jan 16, 2025 · 0 comments
Labels
bug Something isn't working

Comments

@gridhead
Copy link
Member

Here is what the logs look like.

test/test_tkts.py: 31 warnings
test/test_unit_gitlab.py: 1 warning
  /home/altruism/Projects/pagure-exporter/pagure_exporter/work/tkts.py:207: DeprecationWarning: datetime.datetime.utcfromtimestamp() is deprecated and scheduled for removal in a future version. Use timezone-aware objects to represent datetimes in UTC: datetime.datetime.fromtimestamp(timestamp, datetime.UTC).
    mm=datetime.utcfromtimestamp(standard.cmtstime).strftime("%M"),
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant