lib/sifttter-redux.rb in sifttter-redux-0.6.2 vs lib/sifttter-redux.rb in sifttter-redux-0.6.3
- old
+ new
@@ -107,11 +107,10 @@
# Custom Range
if (options[:f] || options[:t])
_dates = DateRangeMaker.range(options[:f], options[:t], options[:i])
if _dates.last > Date.today
- long_message = "Ignoring overextended end date and using today's date (#{ Date.today })..."
- messenger.warn(long_message)
+ messenger.warn("Ignoring overextended end date and using today's date (#{ Date.today })...")
r = (_dates.first..Date.today)
else
r = (_dates.first.._dates.last)
end
end