changeset 6227:4c1aa6affe60

Merge with crew
author Matt Mackall <mpm@selenic.com>
date Tue, 11 Mar 2008 17:42:26 -0500
parents 210ee6204a29 (diff) bd61e44eb2cc (current diff)
children c0c4c7b1e8d3
files
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/mercurial/util.py	Tue Mar 11 11:38:12 2008 -0700
+++ b/mercurial/util.py	Tue Mar 11 17:42:26 2008 -0500
@@ -1532,7 +1532,7 @@
     t, tz = date or makedate()
     s = time.strftime(format, time.gmtime(float(t) - tz))
     if timezone:
-        s += timezone_format % (-tz / 3600, ((-tz % 3600) / 60))
+        s += timezone_format % (int(-tz / 3600.0), ((-tz % 3600) / 60))
     return s
 
 def shortdate(date=None):