[Zope] bobobase_modification_time one day back?

Wolfgang Strobl ws@gmd.de
Thu, 2 Mar 2000 13:24:46 +0100


<color><param>0100,0100,0100</param>On 1 Mar 00, 21:42  Martijn Pieters wrote:


<color><param>7F00,0000,0000</param>> From: "Thomas Weiner" <<weiner@tu-harburg.de>

> > Am I the only one whose bobo_modification_time started today with

> > /2000/2/29 instead of /2000/03/01?

> >

> > I create a new method Time_now:

> >

> > <<dtml-var ZopeTime><<br>

> > <<dtml-var bobobase_modification_time-->

> >

> > and the Output is:

> >

> > 2000/03/01 18:30:21.091 GMT+1

> > 2000/02/29 18:30:5.198 GMT+1

> >

> > Same appears in my Undo Log (February, 29th started again today) and

> > so on.

> 

> 1: What is your timezone setting. It could be that dates are displayed

> in a different timezone.


</color>As it says. GMT+1, obviously



<color><param>7F00,0000,0000</param>> 2: If you do your test from a DTML Method, you'll be shown the

> modification date of the container it is called on. For an

> explanation, see:

</color>> 

<color><param>7F00,0000,0000</param>>   http://www.zope.org/Members/michel/HowTos/DTMLMethodsandDocsHowTo


</color>That remark is misleading, as a simple experiment could have shown easily


:-(



dtml-var standard_html_header>

<<h2><<dtml-var title_or_id><</h2>

<<p>

This is the <<dtml-var id> Document.

<</p>


<<dtml-var ZopeTime><<br> 

<<dtml-var bobobase_modification_time> <<br>

<<dtml-var "_.DateTime(_.DateTime().timeTime())"><<br>



<<dtml-var standard_html_footer><color><param>7F00,0000,0000</param>



</color>renders as


<bold><color><param>0100,0100,0100</param><FontFamily><param>Times New Roman</param><bigger><bigger><bigger><bigger>y2bug

</bold><smaller><smaller><smaller>This is the y2kbug Document. 

2000/03/02 13:22:14.766 GMT+1
2000/03/01 13:22:13.565 GMT+1 
2000/03/02 13:22:14.766 GMT+1

</color><FontFamily><param>Arial</param><smaller>when I use "change" and "view" in succession, on that document.

	


<nofill>
--
      o      (     Wolfgang.Strobl@gmd.de (+49 2241) 14-2394
     /\        *   GMD mbH                       #include 
   _`\ `_<===      Schloss Birlinghoven,         <std.disclaimer>
__(_)/_(_)___.-._  53754 Sankt Augustin, Germany ________________