Opened 12 years ago

Closed 12 years ago

Last modified 12 years ago

#2103 closed defect (fixed)

DateField and DateTimefield do not really validate

Reported by: Rudolph Froger Owned by: Adrian Holovaty
Component: Validators Version: master
Severity: normal Keywords:
Cc: Triage Stage: Unreviewed
Has patch: no Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: UI/UX:


When providing an invalid date like 2006-2-31 to a DateField or
DateTimeField, the validation doesn't catch that and an unhandled
exception is raised. It shouldn't be too hard to validate for valid
dates since you can rely on the Pythons datetime module.

I think this is a bug, or at least a missing feature one expects to
find in the validation thing.


Change History (2)

comment:1 Changed 12 years ago by Rudolph Froger

Resolution: fixed
Status: newclosed

This is solved by Adrian in changeset [3242].

comment:2 Changed 12 years ago by Adrian Holovaty

milestone: Version 0.93

Milestone Version 0.93 deleted

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