[Plone-IT] the datetime strftime() methods require year >= 1900 ... come risolvere?

Vito Falco vitofalco a gmail.com
Mer 21 Ott 2009 18:28:43 UTC


Ciao a tutti,
ho creato un mio oggettino che memorizza alcuni dati, tra i quali esiste un
campo DateField che – a seconda dei casi – potrebbe anche memorizzare una
data piuttosto antica.
Se provo a immettere una data come 01/10/1560 ottengo un errore:

ValueError: year=1560 is before 1900; the datetime strftime() methods
> require year >= 1900
>

Come posso fare a risolvere?

Vito


-- 
"Design is the method of putting form and content together. Design, just as
art, has multiple definitions; there is no single definition. Design can be
art. Design can be aesthetics. Design is so simple, that's why it is so
complicated." by Paul Rand
-------------- parte successiva --------------
Un allegato HTML è stato rimosso...
URL: <http://lists.plone.org/pipermail/plone-plone-it/attachments/20091021/bac28fb0/attachment.html>


Maggiori informazioni sulla lista Plone-IT