Explorar o código

Tests passing on 2.6

Ask Solem %!s(int64=10) %!d(string=hai) anos
pai
achega
1bf3103031
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      celery/utils/timeutils.py

+ 1 - 1
celery/utils/timeutils.py

@@ -75,7 +75,7 @@ class LocalTimezone(tzinfo):
 
     def __repr__(self):
         return '<LocalTimezone: UTC{0:+03d}>'.format(
-            int(self.DSTOFFSET.total_seconds() / 3600),
+            int(timedelta_seconds(self.DSTOFFSET) / 3600),
         )
 
     def utcoffset(self, dt):