Skip to content

Commit

Permalink
fixes #1868
Browse files Browse the repository at this point in the history
bug in lib/datevectors.rb
  • Loading branch information
Siddharth Sharma committed Jan 28, 2012
1 parent 95fffe2 commit 1b0afa1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/datevector.rb
Expand Up @@ -63,7 +63,7 @@ def get_dates(from = @from, to = @to)
d = d.next_(wday)
rv << d if ((to.class == Date ? d <= to : i <= to) and d >= from)
d = d + ((@of_every - 1) * 7)
i += 1
i = rv.count - 1
end
end
when :month
Expand Down

0 comments on commit 1b0afa1

Please sign in to comment.