Use only common_timezones

This commit is contained in:
Cédric Krier committed 2008-07-03 11:33:44 +02:00
1 parent 4ea89bbc20
commit 9a348e0fd0
1 file changed
+1 -1
+1 -1
View File
@@ -250,7 +250,7 @@ class User(OSV):
def timezones(self, cursor, user, context=None):
try:
import pytz
res = [[x, x] for x in pytz.all_timezones]
res = [[x, x] for x in pytz.common_timezones]
except ImportError:
res = [[time.tzname[0], time.tzname[0]]]
return res