[Zope] bobobase_modification_time one day back?

Petr Knapek knapek@knapek.pvt.net
02 Mar 2000 07:59:54 +0100


>>>>> On Wed, 1 Mar 2000 21:42:24 +0100, "Martijn Pieters" <mj@digicool.com> said:
Hi all,
I have the same problem. 
    MP> 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.

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

Martijn, it is not problem of timezone setting. If yes I had to see the
difference in past also. And it was OK. The problem started with
29.2. date. I think that it is a bug in bobobase_modification_time. The
system time is OK, only problems with bobobase_modification_time. 

 
    MP> 2: If you do your test from a DTML Method, you'll be shown the
    MP> modification date of the container it is called on. For an
    MP> explanation, see:

    MP>
    MP> http://www.zope.org/Members/michel/HowTos/DTMLMethodsandDocsHowTo

    MP> and other How-To's on DTML and Aqcuisition.

    MP> Martijn Pieters | Software Engineer mailto:mj@digicool.com |
    MP> Digital Creations http://www.digicool.com/ | Creators of Zope
    MP> http://www.zope.org/ | The Open Source Web Application Server
    MP> ---------------------------------------------


    MP> _______________________________________________ Zope maillist -
    MP> Zope@zope.org http://lists.zope.org/mailman/listinfo/zope ** No
    MP> cross posts or HTML encoding!  ** (Related lists -
    MP> http://lists.zope.org/mailman/listinfo/zope-announce
    MP> http://lists.zope.org/mailman/listinfo/zope-dev )
Petr



-- 
Petr Knápek
PVT.NET, e-mail: petr.knapek@pvt.net, tel:+420-5-41 558 394
PVT a.s. - pvt.net, Veveří 102, 659 10 Brno, Czech Republic