diff options
Diffstat (limited to 'libical/src')
-rw-r--r-- | libical/src/libical/icaltimezone.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/libical/src/libical/icaltimezone.c b/libical/src/libical/icaltimezone.c index b36e34eb74..9e15fbf993 100644 --- a/libical/src/libical/icaltimezone.c +++ b/libical/src/libical/icaltimezone.c @@ -387,6 +387,11 @@ icaltimezone_get_tznames_from_vtimezone (icalcomponent *component) ICAL_ANY_COMPONENT); } + /* Outlook (2000) places "Standard Time" and "Daylight Time" in the TZNAME + strings, which is totally useless. So we return NULL in that case. */ + if (standard_tzname && !strcmp (standard_tzname, "Standard Time")) + return NULL; + /* If both standard and daylight TZNAMEs were found, if they are the same we return just one, else we format them like "EST/EDT". */ if (standard_tzname && daylight_tzname) { |