lib/time_crisis/holiday.rb in time_crisis-0.1.7 vs lib/time_crisis/holiday.rb in time_crisis-0.1.8
- old
+ new
@@ -12,10 +12,10 @@
def memorial_day
last_monday_of_may = TimeCrisis::Date.nth_weekday({
:month => 5,
:weekday => :monday,
- :nth => 4
+ :nth => :last
})
[last_monday_of_may.month, last_monday_of_may.day]
end