See ChangeLog.

Monotone-Parent: 1f603d18ef908652156b3dbae521f53c6527c63c
Monotone-Revision: 13364682a0f8ae52e3545893494b2a7ec0a88529

Monotone-Author: flachapelle@inverse.ca
Monotone-Date: 2011-12-23T16:12:14
maint-2.0.2
Francis Lachapelle 2011-12-23 16:12:14 +00:00
parent 1f38df80e1
commit c37208db81
2 changed files with 7 additions and 1 deletions

View File

@ -1,5 +1,8 @@
2011-12-23 Francis Lachapelle <flachapelle@inverse.ca>
* UI/PreferencesUI/UIxPreferences.m (-vacationEndDate): return
current date when no end date is defined.
* Tools/SOGoToolUserPreferences.m (-run): fixed possible out of
bound exception when parsing arguments.

View File

@ -914,7 +914,10 @@
time = [[vacationOptions objectForKey: @"endDate"] intValue];
return [NSCalendarDate dateWithTimeIntervalSince1970: time];
if (time > 0)
return [NSCalendarDate dateWithTimeIntervalSince1970: time];
else
return [NSCalendarDate calendarDate];
}
/* mail forward */