Showing 1 of 3 total issues
Method view
has 26 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
def view
now = Time.now
start_time = Time.new(now.year, now.month, 1, 0, 0).to_formatted_s(:db)
last_day_of_month = DateTime.new(now.year, now.month).end_of_month.day
end_time = Time.new(now.year, now.month, last_day_of_month, 23, 59).to_formatted_s(:db)