[Zope] Problem with date format

Paolo Bizzarri p.bizzarri@icube.it
Mon, 26 Jul 1999 15:12:45 +0200


Hi everybody,

it seems that zope is a bit hard with me about
date formatting.

I am using Zope 1.10.3 and Mysql, and trying to
make some date format on a date field on a query
result.

I am obviously being really dumb. Can you help me
?

Thanks.


Here the response from Zope:


<!--
 Error type:  
 Error value: not all arguments converted
 -->



<!--
Traceback (innermost last):
  File /var/zope/lib/python/ZPublisher/Publish.py,
line 877, in publish_module
  File /var/zope/lib/python/ZPublisher/Publish.py,
line 590, in publish
    (Info:
/Ricerche/Anagrafica/Laboratori/Visualizzazione)
  File /var/zope/lib/python/OFS/DTMLMethod.py,
line 155, in __call__
    (Object: Visualizzazione)
  File /var/zope/lib/python/OFS/DTMLMethod.py,
line 151, in __call__
    (Object: Visualizzazione)
  File
/var/zope/lib/python/DocumentTemplate/DT_String.py,
line 513, in __call__
    (Object: Visualizzazione)
  File
/var/zope/lib/python/DocumentTemplate/DT_In.py,
line 599, in renderwb
    (Object: ElencoLaboratori)
  File
/var/zope/lib/python/DocumentTemplate/DT_Var.py,
line 271, in render
    (Object: data_attivazione)
    (Info: ('data_attivazione', '1991-01-01',
{'fmt': 'Date', '': 'data_attivazione'}))
TypeError: (see above)

-->
-- 
Paolo Bizzarri - Responsabile Marketing  I3 Icube
Srl
Sede:   Via Ridolfi 15 - 56124 Pisa (PI), Italia 
E-mail: p.bizzarri@icube.it		WWW: www.icube.it	
Tel: 	(+39) 050 97 02 07		Fax: (+39) 050 31 36 588