[Zope] bobobase_modification_time stuck after system date change (back 1 month)

Cornel Nitu c.nitu@finsiel.ro
Wed, 5 Feb 2003 11:24:25 +0200


This is a multi-part message in MIME format.

------=_NextPart_000_00D7_01C2CD09.23677E20
Content-Type: text/plain;
	charset="iso-8859-1"
Content-Transfer-Encoding: 7bit

Hi,
This is a temporary solution. It is a hotfix-like product for
bobobase_modification_time function.
My product overwrites the original function from App.PersistentExtra.
The only change made is that if the bobobase_modification_time() of an
object is in the future then it returns the current server time (DateTime).
Use this product until 3 March 2003...  :)


VeCo

----- Original Message -----
From: "Gilles Lenfant" <gilles@pilotsystems.net>
To: <zope@zope.org>
Sent: Tuesday, February 04, 2003 7:31 PM
Subject: [Zope] bobobase_modification_time stuck after system date change
(back 1 month)


> Hi,
>
> I installed a brand new Zope on a server (redhat) on which the system date
> was 1 month ahead (2003 March 3 for today).
> The system admin just corrected the system date/time today, but when
> creating a new object after this, its bobobase_modification_time() is
still
> shifted 1 month ahead, when DateTime() shows the (corrected) system date
!!!
> Even after a Zope restart.
> Why does this happend ?
> How can I fix this ?
>
> Many thanks in advance for any hint !
>
> --Gilles
>
>
>
>
> _______________________________________________
> Zope maillist  -  Zope@zope.org
> http://mail.zope.org/mailman/listinfo/zope
> **   No cross posts or HTML encoding!  **
> (Related lists -
>  http://mail.zope.org/mailman/listinfo/zope-announce
>  http://mail.zope.org/mailman/listinfo/zope-dev )
>

------=_NextPart_000_00D7_01C2CD09.23677E20
Content-Type: application/octet-stream;
	name="BoboHotfix.tgz"
Content-Transfer-Encoding: base64
Content-Disposition: attachment;
	filename="BoboHotfix.tgz"

H4sICC7WQD4AAEJvYm9Ib3RmaXgudGFyAO0XW27bRnCWkmWJeti14XwULcC/yEXBkLIkA0aUpkEb
9MsI4BYpVAUERa6ajShR4a4MGbDBAuldeo+eoVfoVy/R2dVboaOgUFwE0VBa7szOa2eGs+STsB3+
EIoOGz2ADwWWZZ3WakYSfQpgndYrll2rnNQtSa/XTiyofTCPFmDIhRsZbzv3ic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