lib/active_merchant/billing/credit_card.rb in activemerchant-1.86.0 vs lib/active_merchant/billing/credit_card.rb in activemerchant-1.87.0
- old
+ new
@@ -386,10 +386,10 @@
end
private
def month_days
- mdays = [nil,31,28,31,30,31,30,31,31,30,31,30,31]
+ mdays = [nil, 31, 28, 31, 30, 31, 30, 31, 31, 30, 31, 30, 31]
mdays[2] = 29 if Date.leap?(year)
mdays[month]
end
end
end