Changeset 6358
- Timestamp:
- 09/16/07 06:59:56 (1 year ago)
- Files:
-
- django/trunk/django/utils/dateformat.py (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
django/trunk/django/utils/dateformat.py
r6275 r6358 167 167 def O(self): 168 168 "Difference to Greenwich time in hours; e.g. '+0200'" 169 tz = self.timezone.utcoffset(self.data)170 return u"%+03d%02d" % ( tz.seconds // 3600, (tz.seconds // 60) % 60)169 seconds = self.Z() 170 return u"%+03d%02d" % (seconds // 3600, (seconds // 60) % 60) 171 171 172 172 def r(self):
