Warning: Can't synchronize with repository "(default)" (Unsupported version control system "svn": No module named svn). Look in the Trac log for more information.

Ticket #1261 (closed defect: fixed)

Opened 12 years ago

Last modified 12 years ago

date_format in DateTimeConverter

Reported by: matdoc Owned by: alberto
Priority: normal Milestone: 2.0
Component: ToscaWidgets Version: 1.0
Severity: normal Keywords:


In twForms-0.1a1 toscawidgets.widgets.forms.calendars CalendarDatePicker?.init it says:

self.validator = self.validator or validators.DateTimeConverter(
            date_format=self.date_format, not_empty=self.not_empty)

but toscawidgets.widgets.forms.validators DateTimeConvertor? takes the argument "format" instead of "date_format"

-> Using the CalendarDatePicker?, one can not use another date-format with the standard validator.

Change History

comment:1 Changed 12 years ago by alberto

  • Milestone changed from 1.0.2 to 2.0

comment:2 Changed 12 years ago by alberto

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

Fixed in [2408]. Thanks for spotting it :)


comment:3 Changed 12 years ago by alberto

That should be [2458]

Note: See TracTickets for help on using tickets.