Monotone-Parent: b035c2825534d38c8e7a14fd3abcf362bcbf2888

Monotone-Revision: 4e859b939657af37f61800fad0e1fdfca1943077

Monotone-Author: wsourdeau@inverse.ca
Monotone-Date: 2007-01-12T23:21:13
Monotone-Branch: ca.inverse.sogo
This commit is contained in:
Wolfgang Sourdeau committed 2007-01-12 23:21:13 +00:00
1 parent 3bf41f721b
commit 1360340318
2 files changed
+14 -4

No files matched your search

+6
View File
@@ -1,3 +1,9 @@
2007-01-12 Wolfgang Sourdeau <wsourdeau@inverse.ca>
* SoObjects/Appointments/SOGoFreeBusyObject.m ([SOGoFreeBusyObject
-contentAsString]): the default timerange is now 14 days before
currentday and 1 month after.
2007-01-08 Wolfgang Sourdeau <wsourdeau@inverse.ca>
* SoObjects/Appointments/SOGoAppointmentFolder.m
+8 -4
View File
@@ -46,11 +46,15 @@
- (NSString *) contentAsString
{
NSCalendarDate *startDate, *endDate;
NSCalendarDate *today, *startDate, *endDate;
startDate = [[[NSCalendarDate calendarDate] mondayOfWeek] beginOfDay];
endDate = [startDate dateByAddingYears: 0 months: 0 days: 7
hours: 23 minutes: 59 seconds: 59];
today = [[NSCalendarDate calendarDate] beginOfDay];
[today setTimeZone: [self userTimeZone]];
startDate = [today dateByAddingYears: 0 months: 0 days: -14
hours: 0 minutes: 0 seconds: 0];
endDate = [startDate dateByAddingYears: 0 months: 1 days: 0
hours: 0 minutes: 0 seconds: 0];
return [self contentAsStringFrom: startDate to: endDate];
}