aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFilipp Lepalaan <f@230.to>2013-03-13 15:28:52 +0200
committerFilipp Lepalaan <f@230.to>2013-03-13 15:28:52 +0200
commit20ea91479d2fffb96192f0159e737ad3030b39e6 (patch)
treede832a731e2a1474d15381c43f4c89067f1712d8
parentdef0978bbb8511c2d81b3d9fd87fd3ed03416143 (diff)
downloadpy-gsxws-20ea91479d2fffb96192f0159e737ad3030b39e6.tar.gz
py-gsxws-20ea91479d2fffb96192f0159e737ad3030b39e6.tar.bz2
py-gsxws-20ea91479d2fffb96192f0159e737ad3030b39e6.zip
Added timezone listing
-rwxr-xr-xgsxws.py19
1 files changed, 19 insertions, 0 deletions
diff --git a/gsxws.py b/gsxws.py
index 2b958db..ccac6d6 100755
--- a/gsxws.py
+++ b/gsxws.py
@@ -19,6 +19,25 @@ logging.getLogger('suds.client').setLevel(logging.DEBUG)
CLIENT = None
SESSION = dict()
LOCALE = 'en_XXX'
+TIMEZONES = (
+ ('GMT', 'Greenwich Mean Time'),
+ ('PDT', 'Pacific Daylight Time'),
+ ('PST', 'Pacific Standard Time'),
+ ('CDT', 'Central Daylight Time'),
+ ('CST', 'Central Standard Time'),
+ ('EDT', 'Eastern Daylight Time'),
+ ('EST', 'Eastern Standard Time'),
+ ('CEST', 'Central European Summer Time'),
+ ('CET', 'Central European Time'),
+ ('JST', 'Japan Standard Time'),
+ ('IST', 'Indian Standard Time'),
+ ('CCT', 'Chinese Coast Time'),
+ ('AEST', 'Australian Eastern Standard Time'),
+ ('AEDT', 'Australian Eastern Daylight Time'),
+ ('ACST', 'Austrailian Central Standard Time'),
+ ('ACDT', 'Australian Central Daylight Time'),
+ ('NZST', 'New Zealand Standard Time'),
+)
def validate(value, what=None):
"""