Ok, I figured it out. Add the following to MiddleKit/Core/DateAttr.py:
def stringToValue(self, aString):
This results in the following in my generated code:
self._birthday = 'DateTime.strptime(aString,"%Y-%m-%d")'
Now, I don't see where the string is being evaluated, but it does
appear to work as desired. Can anybody explain this?
Kevin Dahlhausen 'Do' or 'do not.' There is no 'Try.'
Do you Yahoo!?
Yahoo! Tax Center - File online, calculators, forms, and more