[Zope] DST Zone Date, help needed!
julio dinis
juliodinis@hotmail.com
Fri, 31 Mar 2000 06:53:02 PST
Hello all,
I'm having a hard time with dates since portugal entered DST last March 26.
If I use:
<dtml-var "REQUEST.set('mydate','2000/03/31 15:00:00.000 GMT')">
manage_changeProperties(REQUEST)
I can get from "mydate" the utc hour (14:00) with the
fmt="a-la-C %H:%M" and the current GMT DST of Portugal(15:00) with
Zope's TimeMinutes().
If I use:
<form action="manage_changeProperties">
<input type="text:date" value="2000/03/31 15:00:00.000 GMT" name=mydate>
<input type=submit>
</form>
the fmt format and zope's zopetime() give me the same hour that
is the GMT-DST (15:00), i.e, somehow the "text:date" conversion is
ignoring the Portuguese GMT-DST and assume, in this example, 15:00 as
the UTC.
Since nobody is answering I'm going into the source to find where is this
conversion. I'll get back with a solution... I hope :-)
Thanx,
Julio
______________________________________________________
Get Your Private, Free Email at http://www.hotmail.com