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 #1184 (closed defect: wontfix)

Opened 13 years ago

Last modified 10 years ago

CalendarDatePicker returns a datetime, not a date

Reported by: grover Owned by: anonymous
Priority: normal Milestone: 1.x
Component: TG Widgets Version: 1.0b1
Severity: normal Keywords:
Cc:

Description

returns a datetime with hour, minute, seconds equal to 0. Comparing this to the equivalent date returns False.

I think using a DateConverter? on line 53 of big_widgets.py would fix this? and then DateTimeConverter? only for CalendarDateTimePicker?.

Change History

comment:1 Changed 12 years ago by jorge.vargas

  • Milestone set to 1.1

this change will make the widget more general but it needs a big warning since it will break some code.

comment:2 Changed 12 years ago by alberto

  • Milestone changed from 1.1 to __unclassified__

Batch moved into unclassified from 1.1 to properly track progress on the later

comment:3 Changed 10 years ago by jorge.vargas

  • Milestone changed from __unclassified__ to 1.x

comment:4 Changed 10 years ago by Chris Arndt

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

Cruft ticket. The DateTimeConverter? in turbogears.validators is limited, but it is easy to write your own validators. Closing ticket as wontfix.

Note: See TracTickets for help on using tickets.