Why is Zope costantly reporting the day before the one I suppose it should?

This is my method:






====================

<dtml-var standard_html_header>


<dtml-if "REQUEST.get('SUBMIT')=='Add'">

  <dtml-call "elenco.manage_addDTMLDocument(_.str(seqnum),'','')">

  <dtml-with "elenco[_.str(seqnum)]">
    <dtml-call "manage_addProperty('seqnum','0','int')">
    <dtml-call "manage_addProperty('citta','','string')">
    <dtml-call "manage_addProperty('data','2000/01/01','date')">
    <dtml-call "manage_addProperty('indirizzo','','string')">
    <dtml-call "manage_addProperty('desc','[]','lines')">
  </dtml-with>
  <dtml-call "elenco.manage_changeProperties(seqnext=REQUEST.form['seqnum']+1)">

</dtml-if>

<dtml-if "REQUEST.get('SUBMIT') in ['Change','Add']">
  <dtml-call "elenco[_.str(seqnum)].manage_changeProperties(REQUEST.form)">
  <dtml-call "RESPONSE.redirect('index_html')">
</dtml-if>


<FORM METHOD=POST>

<TABLE>
<INPUT TYPE=HIDDEN NAME="seqnum:int" VALUE="<dtml-var 
"elenco.getProperty('seqnext')">">

<TR><TH ALIGN=LEFT>Citta':</TH><TH ALIGN=LEFT>Data:</TH></TR>
<TR><TD>
<INPUT TYPE=TEXT NAME="citta">
</TD><TD>
<INPUT TYPE=TEXT NAME="data:date" VALUE="2000/01/01">
</TD></TR>

<TR><TH ALIGN=LEFT>Indirizzo:</TH><TH ALIGN=LEFT>Descrizione:</TH></TR>
<TR VALIGN=TOP><TD>
<INPUT TYPE=TEXT NAME="indirizzo">
</TD><TD>
<TEXTAREA ROWS=10 COLS=30 NAME="desc:lines"></TEXTAREA>
</TD></TR>

</TABLE>

<INPUT TYPE=SUBMIT NAME=SUBMIT VALUE="Add">
</FORM>



<dtml-var standard_html_footer>


====================


Upon the creation of an object, the "data" property gets stored with the wrong day.

Is it something everyone but me knows?

Thank you.




-- 
"This company has performed an illegal operation and will be shut down.
 If the problem persists, contact your vendor or appeal to a higher court."
 - Signal11 on slashdot

_______________________________________________
Zope maillist  -  [EMAIL PROTECTED]
http://lists.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
 http://lists.zope.org/mailman/listinfo/zope-announce
 http://lists.zope.org/mailman/listinfo/zope-dev )

Reply via email to