Leaklens

django__django-13363

Add support for tzinfo parameter to TruncDate() and TruncTime().

Verdict: the issue points to the file or function that was changed (Tier B).

But the TruncDate and TruncTime classes override as_sql and don't call super. So the timezone passed in is ignored.

The two checks disagreed (stated fix vs. points to it); the lower reading shown: “Here's the offending line: ​https://github.com/django/django/blob/master/django/db/models/functions/datetime.py#L295”

All SWE-bench Verified tasks · more django/django tasks · How the check works