Skip to content

Commit

Permalink
Use Date instead of DateTime
Browse files Browse the repository at this point in the history
  • Loading branch information
hackartisan committed Jul 2, 2018
1 parent 5344335 commit 3fa4cff
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/helpers/application_helper.rb
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,6 @@ def header_title
end

def current_year
DateTime.now.year
Date.today.year
end
end

0 comments on commit 3fa4cff

Please sign in to comment.