1
0
mirror of https://github.com/django/django.git synced 2025-10-31 09:41:08 +00:00

Fixed #34483 -- Fixed timesince()/timeuntil() with timezone-aware dates and interval less than 1 day.

Regression in 8d67e16493.

Thanks Lorenzo Peña for the report.
This commit is contained in:
nessita
2023-04-13 13:16:33 -03:00
committed by GitHub
parent 0976742087
commit 813015d67e
3 changed files with 23 additions and 1 deletions

View File

@@ -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`).