Opened 16 years ago

Closed 16 years ago

Last modified 13 years ago

#8637 closed (fixed)

timeuntil filter crashes with datetime.date values

Reported by: anonymous Owned by: nobody
Component: Template system Version: dev
Severity: Keywords: timeuntil
Cc: Triage Stage: Accepted
Has patch: no Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: no UI/UX: no

Description

We got this issue after #7201 fixed.

Since datetime.date objects does not have tzinfo attribute, [source:/django/trunk/django/utils/timesince.py#8579 utils.timeuntil] raises AttributeError thus blocking operation.

Change History (4)

comment:1 by anonymous, 16 years ago

milestone: 1.0

comment:2 by Jacob, 16 years ago

Triage Stage: UnreviewedAccepted

comment:3 by Jacob, 16 years ago

Resolution: fixed
Status: newclosed

(In [8668]) Fixed #8637: fixed timeuntil and date values.

comment:4 by Jacob, 13 years ago

milestone: 1.0

Milestone 1.0 deleted

Note: See TracTickets for help on using tickets.
Back to Top