diff options
author | Dan McGee <dan@archlinux.org> | 2011-05-27 00:54:14 +0200 |
---|---|---|
committer | Dan McGee <dan@archlinux.org> | 2011-05-27 00:54:14 +0200 |
commit | cc4fef23e2b4da4744224f5b2c0dbb679834aa49 (patch) | |
tree | 9e7f4e287dc793e80334846044f5bd2636437500 | |
parent | c4e1f01417d0e24b85cb4465e850fba901e53820 (diff) | |
download | archweb-cc4fef23e2b4da4744224f5b2c0dbb679834aa49.tar.gz archweb-cc4fef23e2b4da4744224f5b2c0dbb679834aa49.tar.xz |
Remove now uneeded pytz bug workaround
-rw-r--r-- | devel/views.py | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/devel/views.py b/devel/views.py index 6c36742..475376a 100644 --- a/devel/views.py +++ b/devel/views.py @@ -77,9 +77,7 @@ def clock(request): now = datetime.now() utc_now = datetime.utcnow().replace(tzinfo=pytz.utc) for dev in devs: - # Work around https://bugs.launchpad.net/pytz/+bug/718673 - timezone = str(dev.userprofile.time_zone) - tz = pytz.timezone(timezone) + tz = pytz.timezone(dev.userprofile.time_zone) dev.current_time = utc_now.astimezone(tz) page_dict = { |