[Zope] Getting a date into an object title - DON'T Disregard

Tim Cook tim@freepm.org
Sat, 31 Mar 2001 16:09:08 -0600


"Ronald L. Chichester" wrote:
> 
> Thanks Tim and Andy.
> 
> I think I figured out what the problem is.  Getting ZopeTime into the title isn't the
> problem.  Getting the _user input_ that is meant to be a date into the title is the
> problem.
> 
> Silly me, I was treating a user input from an HTML form for a date _as_ a date value,
> when in reality it is only a string.  If I had tried myTitle = '%s' % contact_date

A couple of very applicable HOWTOs:

http://www.zope.org/Members/Zen/howto/FormVariableTypes
http://www.zope.org/Members/Duncan/RecogniseTypes

-- 
Tim Cook, President - FreePM,Inc. 
http://www.FreePM.com Office: (901) 884-4126
ONLINE DEMO: http://www.freepm.org:8080/FreePM