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

On 13 Nov 2006, at 00:54, Perry Smith wrote:


On Nov 12, 2006, at 12:56 PM, Hafeliel wrote:

--- Andrew Milton <[EMAIL PROTECTED]> wrote:

grumpy = getattr(container, "grumpy.jpg")

The edit view of grumpy.jpg shows me the Last Modified
time

I bet you are getting the last modified date from the image. The image has attributes inside of it.

There is no code inside Zope that would look at file or image data to read modification date from it. The method is bobobase_modification_time for simple Zope Images, and one look at the sources for that edit form would have revealed that.

jens



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

iD8DBQFFWCmcRAx5nvEhZLIRAlAaAJ9FNVqabQntuTM/JSlJuQGzv+wISgCeP5sr
H2Lj4fReR6Bh2SmhkMXAFug=
=AU7S
-----END PGP SIGNATURE-----
_______________________________________________
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 )

Reply via email to