diff options
| author | nessita <124304+nessita@users.noreply.github.com> | 2023-04-13 13:16:33 -0300 |
|---|---|---|
| committer | Natalia <124304+nessita@users.noreply.github.com> | 2023-04-13 13:20:16 -0300 |
| commit | a3c14ea61b7b0e91ff646dfe75850d918ef7e478 (patch) | |
| tree | cbc98f5c0bc7f24a58bbfa0e4b9dba63d249b67f /docs | |
| parent | 791407fef16faa4da6fe2247c24a9055037dd5dd (diff) | |
[4.2.x] Fixed #34483 -- Fixed timesince()/timeuntil() with timezone-aware dates and interval less than 1 day.
Regression in 8d67e16493c903adc9d049141028bc0fff43f8c8.
Thanks Lorenzo Peña for the report.
Backport of 813015d67e2557fa859a07930a9becec4e5f64a0 from main
Diffstat (limited to 'docs')
| -rw-r--r-- | docs/releases/4.2.1.txt | 4 |
1 files changed, 4 insertions, 0 deletions
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`). |
