summaryrefslogtreecommitdiff
path: root/devel
diff options
context:
space:
mode:
Diffstat (limited to 'devel')
-rw-r--r--devel/views.py4
1 files changed, 1 insertions, 3 deletions
diff --git a/devel/views.py b/devel/views.py
index c0d10285..89963d27 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 = {