changeset 6224 | 210ee6204a29 |
parent 6212 | e75aab656f46 |
child 6229 | c3182eeb70ea |
--- a/mercurial/util.py Sun Mar 09 17:34:55 2008 +0000 +++ b/mercurial/util.py Mon Mar 10 02:54:37 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):