diff options
author | Guido Guenther <agx@sigxcpu.org> | 2006-10-07 00:46:56 +0200 |
---|---|---|
committer | Guido Guenther <agx@bogon.sigxcpu.org> | 2006-10-07 00:46:56 +0200 |
commit | 9066be68b6b6d960b4f3f6cc8b56b35731f1b75a (patch) | |
tree | 08d4d13b8ba36b4a706d0fd93d09f28b0422bfc1 /src/vobject/icalendar.py | |
parent | 83cca3541c1171102bcda16aa5aab732f5a9097f (diff) |
Imported vobject-0.4.3
into Git repository
Diffstat (limited to 'src/vobject/icalendar.py')
-rw-r--r-- | src/vobject/icalendar.py | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/vobject/icalendar.py b/src/vobject/icalendar.py index 728afb0..a51ff14 100644 --- a/src/vobject/icalendar.py +++ b/src/vobject/icalendar.py @@ -270,6 +270,10 @@ class TimezoneComponent(Component): # try PyICU's tzid key if hasattr(tzinfo, 'tzid'): return tzinfo.tzid + + # try pytz zone key + if hasattr(tzinfo, 'zone'): + return tzinfo.zone # try tzical's tzid key elif hasattr(tzinfo, '_tzid'): |