Skip to content

Conversation

@GitTimeraider
Copy link
Owner

No description provided.

Copilot AI review requested due to automatic review settings October 6, 2025 15:49
@GitTimeraider GitTimeraider merged commit e46bbf6 into main Oct 6, 2025
3 of 4 checks passed
Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

This PR replaces deprecated datetime.utcnow() calls with datetime.now(timezone.utc) throughout the codebase to use timezone-aware datetime objects and follow modern Python best practices.

  • Updates all imports to include the timezone module from datetime
  • Replaces datetime.utcnow() calls with datetime.now(timezone.utc) in webhook operations
  • Updates database model default timestamp functions to use timezone-aware datetime

Reviewed Changes

Copilot reviewed 3 out of 3 changed files in this pull request and generated no comments.

File Description
app/webhooks.py Updates webhook timestamp generation to use timezone-aware datetime
app/models.py Updates database model default timestamps to use timezone-aware datetime
app/currency.py Updates exchange rate age calculations to use timezone-aware datetime

Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants