Reviewers: ,


Please review this at http://codereview.tryton.org/434001/

Affected files:
  M calendar_.py


Index: calendar_.py
===================================================================

--- a/calendar_.py
+++ b/calendar_.py
@@ -1080,9 +1080,9 @@

         user = user_obj.browse(Transaction().user)
         if event.timezone:
-            tzevent = pytz.timezone(event.timezone)
+            tzevent = dateutil.tz.gettz(event.timezone)
         elif user.timezone:
-                tzevent = pytz.timezone(user.timezone)
+            tzevent = dateutil.tz.gettz(user.timezone)
         else:
             tzevent = tzlocal




--
[email protected] mailing list

Reply via email to