Hello, I recently upgraded from SQLAlchemy 0.3.8 to 0.3.10. The only problem I ran into is that 0.3.10 no longer allows you to set datetime columns using strings.
In 0.3.8, I was able to use the toscawidgets calendar widget to set the datetime columns in my mapped objects. In the following code, kw["reportDate"] is a string formatted like "2007-08-08 14:08:56" metricReport.reportDate = kw["reportDate"] session.save(metricReport) session.flush() When I retrieve the object, the reportDate column will have been converted into a datetime object with no effort on my part. In 0.3.10, I get the following error when I flush the object: AttributeError: 'str' object has no attribute 'strftime'. Is there something I am missing or is this a bug in 0.3.10? Thanks -Dave Marsh --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "sqlalchemy" group. To post to this group, send email to sqlalchemy@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/sqlalchemy?hl=en -~----------~----~----~----~------~----~------~--~---