#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 , 17 years ago
| milestone: | → 1.0 |
|---|
comment:2 by , 17 years ago
| Triage Stage: | Unreviewed → Accepted |
|---|
comment:3 by , 17 years ago
| Resolution: | → fixed |
|---|---|
| Status: | new → closed |
Note:
See TracTickets
for help on using tickets.
(In [8668]) Fixed #8637: fixed timeuntil and date values.