Re: [Django] #34243: timesince() raises TypeError with USE_TZ=True and >1 month interval.

11 views
Skip to first unread message

Django

unread,
Jan 5, 2023, 6:42:16 AM1/5/23
to django-...@googlegroups.com
#34243: timesince() raises TypeError with USE_TZ=True and >1 month interval.
---------------------------------+-----------------------------------------
Reporter: Sage Abdullah | Owner: Sage Abdullah
Type: Bug | Status: assigned
Component: Utilities | Version: dev
Severity: Release blocker | Resolution:
Keywords: | Triage Stage: Accepted
Has patch: 1 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 0
---------------------------------+-----------------------------------------
Changes (by Sage Abdullah):

* has_patch: 0 => 1


Comment:

[https://github.com/django/django/pull/16429 PR]

--
Ticket URL: <https://code.djangoproject.com/ticket/34243#comment:7>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.

Django

unread,
Jan 5, 2023, 7:49:48 AM1/5/23
to django-...@googlegroups.com
#34243: timesince() raises TypeError with USE_TZ=True and >1 month interval.
---------------------------------+-----------------------------------------
Reporter: Sage Abdullah | Owner: Sage Abdullah
Type: Bug | Status: assigned
Component: Utilities | Version: dev
Severity: Release blocker | Resolution:
Keywords: | Triage Stage: Accepted
Has patch: 1 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 0
---------------------------------+-----------------------------------------

Comment (by Carlton Gibson):

Good catch! Thanks for testing against `main`! 🎁

--
Ticket URL: <https://code.djangoproject.com/ticket/34243#comment:8>

Django

unread,
Jan 5, 2023, 8:28:42 AM1/5/23
to django-...@googlegroups.com
#34243: timesince() raises TypeError with USE_TZ=True and >1 month interval.
-------------------------------------+-------------------------------------

Reporter: Sage Abdullah | Owner: Sage
| Abdullah
Type: Bug | Status: assigned
Component: Utilities | Version: dev
Severity: Release blocker | Resolution:
Keywords: | Triage Stage: Ready for
| checkin

Has patch: 1 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 0
-------------------------------------+-------------------------------------
Changes (by Mariusz Felisiak):

* stage: Accepted => Ready for checkin


--
Ticket URL: <https://code.djangoproject.com/ticket/34243#comment:9>

Django

unread,
Jan 5, 2023, 10:38:31 AM1/5/23
to django-...@googlegroups.com
#34243: timesince() raises TypeError with USE_TZ=True and >1 month interval.
-------------------------------------+-------------------------------------
Reporter: Sage Abdullah | Owner: Sage
| Abdullah
Type: Bug | Status: closed
Component: Utilities | Version: dev
Severity: Release blocker | Resolution: fixed

Keywords: | Triage Stage: Ready for
| checkin
Has patch: 1 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 0
-------------------------------------+-------------------------------------
Changes (by GitHub <noreply@…>):

* status: assigned => closed
* resolution: => fixed


Comment:

In [changeset:"8cf3831822b708270f38fabb630bbdfdfbb41be1" 8cf3831]:
{{{
#!CommitTicketReference repository=""
revision="8cf3831822b708270f38fabb630bbdfdfbb41be1"
Fixed #34243 -- Fixed timesince() crash with timezone-aware dates and
interval longer than 1 month.

Regression in 8d67e16493c903adc9d049141028bc0fff43f8c8.
}}}

--
Ticket URL: <https://code.djangoproject.com/ticket/34243#comment:10>

Reply all
Reply to author
Forward
0 new messages