[Zope] Re: XML-RPC and dates

Michael Haubenwallner michael at d2m.at
Tue Jun 8 07:20:20 EDT 2004


Ulrich Wisser wrote:

> Hello Michael,
> 
>>> I would like to include dates in my xml-rpc answers. Zope gives me an 
>>> error "long int exceeds XML-RPC limits". In my Script (Python) I am 
>>> not allowed to import the DateTime class from xmlrpclib.
>>>
>>> Do I really have to use external methods?
>>>
>>
>> Have you tried to convert the date to string and send a string?
> 
> 
> Yes I did. But then it it send as <string /> markup, not as 
> <date.iso8601 /> markup.
> 

how about this?
http://www.python.org/doc/current/lib/datetime-objects.html

-- 
michael




More information about the Zope mailing list