[Zope] Problem with zopetime

Morten W. Petersen mpeters@online.no
Sat, 02 Oct 1999 17:48:42 +0200


Evan Simpson wrote:
> 
> One of these calls...
> 
> "Morten W. Petersen" wrote:
> 
> >         <!--#call
> > "REQUEST.set('hol_piece_starttimeperiod',_.int(ZopeTime(_.int(hol_piece_stp_year),
> > _.int(hol_piece_stp_month),_.int(hol_piece_stp_day),0,0,0,timezone)))"-->
> 
> ... is not like the other ...
> 
> >         <!--#call
> > "REQUEST.set('hol_piece_endtimeperiod',ZopeTime(hol_piece_etp_year,
> >                 hol_piece_etp_month,hol_piece_etp_day,0,0,0,timezone))"-->
> 
> ... and that's why one doesn't work (hint: int)

Hrm. Point being, zope chokes on the first call. =)
(Ignore the second one)

"Thanks in advance"