[Zope] How can I reset zope time???

Jens Vagelpohl jens at dataflake.org
Fri Mar 23 09:04:51 EDT 2007


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1


On 23 Mar 2007, at 12:20, flem wrote:
> I am a bit confused. My zopeserver runs fine, and all undos have  
> been erased. What I want is to be able to create an object in the  
> zmi which has the correct creation date (e.g. 23rd March 12.20 pm)  
> in the zmi (and the undo history as well). Is this simply  
> impossible because the timestamp in the zodb is always  
> automatically adjusted to the latest date associated to the objects  
> already created (i.e. 12th December 2007)?

You hit the nail on the head. The ZODB timestamp is adjusted whenever  
the ZODB record for an object is changed and the application code has  
_no_ control over it. Such change could be effected by a content  
author editing the object, or by an import, or by an undo operation.

jens

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (Darwin)

iD8DBQFGA9BzRAx5nvEhZLIRAtWEAJ0Wi2op0pbepzPUc+z2Njt4hOtImwCffqxA
fKsoxuBL4drthkAIkvQz6Dg=
=yOWK
-----END PGP SIGNATURE-----


More information about the Zope mailing list