Ticket #6112: selectdate.diff

File selectdate.diff, 614 bytes (added by terryh, 17 years ago)
  • django/newforms/extras/widgets.py

     
    3232
    3333    def render(self, name, value, attrs=None):
    3434        try:
    35             value = datetime.date(*map(int, value.split('-')))
     35            #value = datetime.date(*map(int, value.split('-')))
    3636            year_val, month_val, day_val = value.year, value.month, value.day
    3737        except (AttributeError, TypeError, ValueError):
    3838            year_val = month_val = day_val = None
Back to Top