From 813015d67e2557fa859a07930a9becec4e5f64a0 Mon Sep 17 00:00:00 2001 From: nessita <124304+nessita@users.noreply.github.com> Date: Thu, 13 Apr 2023 13:16:33 -0300 Subject: Fixed #34483 -- Fixed timesince()/timeuntil() with timezone-aware dates and interval less than 1 day. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Regression in 8d67e16493c903adc9d049141028bc0fff43f8c8. Thanks Lorenzo Peña for the report. --- docs/releases/4.2.1.txt | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'docs') diff --git a/docs/releases/4.2.1.txt b/docs/releases/4.2.1.txt index 2bfe21cd47..84e3695cf4 100644 --- a/docs/releases/4.2.1.txt +++ b/docs/releases/4.2.1.txt @@ -33,3 +33,7 @@ Bugfixes * Fixed a regression in Django 4.2 where creating copies and deep copies of ``HttpRequest``, ``HttpResponse``, and their subclasses didn't always work correctly (:ticket:`34482`, :ticket:`34484`). + +* Fixed a regression in Django 4.2 where ``timesince`` and ``timeuntil`` + template filters returned incorrect results for a datetime with a non-UTC + timezone when a time difference is less than 1 day (:ticket:`34483`). -- cgit v1.3