Open ryanjm opened 10 years ago
This line should be:
DateTime.new(start.year, start.month, month_days.first,0,0,0, start.offset).next_month
That actually won't be right since it could return a date with the day being different than requested.
Need to write a few tests:
None of the tests currently cross the year. Need to write tests to make sure that works properly.
Matt said it currently doesn't.