🔥 3-day streak
GitHub Copilot107 / 190
Question 107 of 190

You are modernizing a legacy Python billing module that stores and compares timestamps using naive datetime.datetime.now() calls throughout. Customers in multiple regions have reported incorrect invoice cutoff times. You want GitHub Copilot to help migrate the code to be timezone-aware without altering the module's public function signatures. What is the most effective way to get a correct, scoped modernization from Copilot?

Reviewed for accuracy · Report an issueNext question