Opened 9 years ago

Closed 9 years ago

Last modified 9 years ago

#2103 closed defect (fixed)

DateField and DateTimefield do not really validate

Reported by: Rudolph Owned by: adrian
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:

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 Changed 9 years ago by Rudolph

  • Resolution set to fixed
  • Status changed from new to closed

This is solved by Adrian in changeset [3242].

comment:2 Changed 9 years ago by adrian

  • milestone Version 0.93 deleted

Milestone Version 0.93 deleted

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