[MERGE] make local_time_offset() more reliable (bug 77588)

Alexander Belchenko bialix at ukr.net
Tue Jan 2 16:14:34 GMT 2007


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

John Arbash Meinel пишет:
> John Arbash Meinel has voted +1.
> Status is now: Semi-approved
> Comment:
> Alexander- Can you say why you voted +0 instead of +1? It would help us
> understand what you were thinking.

Look at this code:

+        self.assertTrue(-86400 < offset < 86400)

I'm not expert in timezones so I'm not sure: is not to be here:

+        self.assertTrue(-86400 <= offset <= 86400)

?

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFFmoTpzYr338mxwCURAlkuAJ9VLx1xebTBEuKYHvvtYWjq2B13uwCfVoTS
Z8oyWojFWP3wIlNHRiqax/I=
=oPxY
-----END PGP SIGNATURE-----





More information about the bazaar mailing list