Skip to content

Conversation

@icovada
Copy link

@icovada icovada commented Dec 10, 2025

Closes: #496

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 fixes the timezone-awareness issue for the date_started field by replacing Django's Now() database function with a custom now() utility function that properly returns timezone-aware datetime objects.

Key changes:

  • Replaced django.db.models.functions.Now() with a custom now() utility function for setting the date_started field
  • The custom now() function returns timezone-aware datetime objects based on Django's USE_TZ setting

💡 Add Copilot custom instructions for smarter, more guided reviews. 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.

date_started is not timezone-aware

2 participants