Changeset 5532
- Timestamp:
- 06/25/07 07:56:52 (1 year ago)
- Files:
-
- django/branches/unicode/django/utils/tzinfo.py (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
django/branches/unicode/django/utils/tzinfo.py
r5056 r5532 3 3 import time 4 4 from datetime import timedelta, tzinfo 5 from django.utils.encoding import smart_unicode 5 6 6 7 class FixedOffset(tzinfo): … … 26 27 def __init__(self, dt): 27 28 tzinfo.__init__(self, dt) 28 self._tzname = unicode(time.tzname[self._isdst(dt)])29 self._tzname = smart_unicode(time.tzname[self._isdst(dt)]) 29 30 30 31 def __repr__(self):
