Opened 19 years ago

Closed 18 years ago

Last modified 18 years ago

#2103 closed defect (fixed)

DateField and DateTimefield do not really validate

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

Description

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.

Rudolph

Change History (2)

comment:1 by Rudolph Froger, 18 years ago

Resolution: fixed
Status: newclosed

This is solved by Adrian in changeset [3242].

comment:2 by Adrian Holovaty, 18 years ago

milestone: Version 0.93

Milestone Version 0.93 deleted

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