See SOPE/NGCards/ChangeLog.

Monotone-Parent: c4570925f011f2af2dfe09f5e9cc51de5bd1e13e
Monotone-Revision: fdaa328ccd09482653fc768fbb48964163c257d9

Monotone-Author: flachapelle@inverse.ca
Monotone-Date: 2011-11-21T19:26:07
maint-2.0.2
Francis Lachapelle 2011-11-21 19:26:07 +00:00
parent a1b4d16840
commit 70636441bb
2 changed files with 10 additions and 2 deletions

View File

@ -1,3 +1,8 @@
2011-11-21 Francis Lachapelle <flachapelle@inverse.ca>
* iCalTimeZone.m (+knownTimeZoneNames): ignore files that don't
have a .ics extension.
2011-11-13 Wolfgang Sourdeau <wsourdeau@inverse.ca>
* iCalTrigger.m (-setValue:, value): removed useless accessors.

View File

@ -148,8 +148,11 @@ static NSArray *knownTimeZones;
if ([fm fileExistsAtPath: zonePath isDirectory: &b] && !b)
{
ext = [zone rangeOfString: @".ics"];
zone = [zone substringToIndex: ext.location];
[timeZoneNames addObject: zone];
if (ext.location != NSNotFound)
{
zone = [zone substringToIndex: ext.location];
[timeZoneNames addObject: zone];
}
}
}
}