#14132 closed (fixed)
Feedgenerator doesn't support dates before 1900
Reported by: | Mike Lissner | Owned by: | Jannis Leidel |
---|---|---|---|
Component: | Contrib apps | Version: | 1.2 |
Severity: | Keywords: | ||
Cc: | Triage Stage: | Accepted | |
Has patch: | yes | Needs documentation: | no |
Needs tests: | no | Patch needs improvement: | yes |
Easy pickings: | no | UI/UX: | no |
Description
In the aggregation framework, if a date prior to 1900 is used in the item_pubdate field, a ValueError is thrown. In my system, we use the pubdate field for the date that the document was originally written, and many of the documents we have were written in the 1700s.
In this bug, which was fixed in 2006, I think strftime was supposed to be fixed throughout the platform: http://code.djangoproject.com/ticket/1443
It would be great if it could get fixed here too.
Attachments (1)
Change History (7)
comment:1 by , 14 years ago
Has patch: | set |
---|---|
Owner: | changed from | to
Status: | new → assigned |
Summary: | Feedparser doesn't support dates before 1900 → Feedgenerator doesn't support dates before 1900 |
Triage Stage: | Unreviewed → Accepted |
by , 14 years ago
Attachment: | fix14132.patch added |
---|
comment:2 by , 14 years ago
milestone: | → 1.3 |
---|---|
Owner: | removed |
Status: | assigned → new |
Assigning to milestone 1.3, because this is a simple fix which mirrors other bugfixes in Django and has tests included.
comment:3 by , 14 years ago
Patch needs improvement: | set |
---|
Patch needs updating because code in the region it touches was changed in r15112.
This affects feedgenerator, not feedparser.