diff --git a/mercurial/util.py b/mercurial/util.py index bab6c8f2bb1a545fbfdf1c14bdc04780a23ea11a_bWVyY3VyaWFsL3V0aWwucHk=..210ee6204a295d21bf444d98dc92cf7e23973c71_bWVyY3VyaWFsL3V0aWwucHk= 100644 --- a/mercurial/util.py +++ b/mercurial/util.py @@ -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):