See ChangeLog
Monotone-Parent: 749811709acadced020a19e4ce7c00f07ac86e77 Monotone-Revision: 635c9e7117554059bb6df5357a9f71f448867b55 Monotone-Author: flachapelle@inverse.ca Monotone-Date: 2012-08-31T20:31:33maint-2.0.2
parent
4798b18598
commit
665d11976a
|
@ -1,3 +1,9 @@
|
||||||
|
2012-08-31 Francis Lachapelle <flachapelle@inverse.ca>
|
||||||
|
|
||||||
|
* iCalWeeklyRecurrenceCalculator.m
|
||||||
|
(-recurrenceRangesWithinCalendarDateRange:): the week counter must
|
||||||
|
start at 0 when there's no day mask.
|
||||||
|
|
||||||
2012-08-22 Francis Lachapelle <flachapelle@inverse.ca>
|
2012-08-22 Francis Lachapelle <flachapelle@inverse.ca>
|
||||||
|
|
||||||
* iCalWeeklyRecurrenceCalculator.m
|
* iCalWeeklyRecurrenceCalculator.m
|
||||||
|
|
|
@ -119,10 +119,10 @@
|
||||||
[currentStartDate autorelease];
|
[currentStartDate autorelease];
|
||||||
ranges = [NSMutableArray array];
|
ranges = [NSMutableArray array];
|
||||||
count = 0;
|
count = 0;
|
||||||
i = [currentStartDate dayOfWeek]; // Set the first day of the week as Sunday and ignore WKST
|
|
||||||
|
|
||||||
if (dayMask == nil)
|
if (dayMask == nil)
|
||||||
{
|
{
|
||||||
|
i = 0;
|
||||||
while ([currentStartDate compare: endDate] == NSOrderedAscending ||
|
while ([currentStartDate compare: endDate] == NSOrderedAscending ||
|
||||||
[currentStartDate compare: endDate] == NSOrderedSame)
|
[currentStartDate compare: endDate] == NSOrderedSame)
|
||||||
{
|
{
|
||||||
|
@ -147,6 +147,7 @@
|
||||||
{
|
{
|
||||||
NGCalendarDateRange *r;
|
NGCalendarDateRange *r;
|
||||||
|
|
||||||
|
i = [currentStartDate dayOfWeek]; // Set the first day of the week as Sunday and ignore WKST
|
||||||
while ([currentStartDate compare: endDate] == NSOrderedAscending ||
|
while ([currentStartDate compare: endDate] == NSOrderedAscending ||
|
||||||
[currentStartDate compare: endDate] == NSOrderedSame)
|
[currentStartDate compare: endDate] == NSOrderedSame)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue