[Zope3-Users] Datetime Error
Marius Gedminas
mgedmin at b4net.lt
Tue Feb 12 12:23:39 EST 2008
Hi,
On Sat, Feb 09, 2008 at 08:45:00PM -0200, Ronaldo Z. Afonso wrote:
> I'm just installing Zope-3.3.1 with Python-2.2.4 and "make check" is
> raising the following error:
>
>
> Failure in test show (zope.app.file.browser.file.FileView)
> Failed doctest test for zope.app.file.browser.file.FileView.show
> File
> "/usr/src/Zope-3.3.1/build/lib.linux-i686-2.4/zope/app/file/browser/file.py", line 39, in show
>
> ----------------------------------------------------------------------
> File
> "/usr/src/Zope-3.3.1/build/lib.linux-i686-2.4/zope/app/file/browser/file.py", line 79, in zope.app.file.browser.file.FileView.show
> Failed example:
> datetime.fromtimestamp(zope.datetime.time(
> request.response.getHeader('Last-Modified')))
> Expected:
> datetime.datetime(2006, 1, 1, 0, 0)
> Got:
> datetime.datetime(2006, 1, 1, 1, 0)
>
>
> Can anybody help me with this?
It looks like a timezone error to me. I cannot reproduce it with Zope 3
trunk. Perhaps it was fixed in a later version?
I wouldn't worry too much.
Marius Gedminas
--
If the ancients were right and to think is to exist, does Microsoft exist?
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
Url : http://mail.zope.org/pipermail/zope3-users/attachments/20080212/779970d5/attachment.bin
More information about the Zope3-users
mailing list