# File lib/skel/leaves/scorekeeper/helpers/general.rb, line 17 def find_range(date) start = nil stop = nil if date.kind_of? Range then start = date.first stop = date.last elsif date.kind_of? Time then start = date.to_date stop = date.to_date + 1 else start = date stop = date + 1 end return start, stop end