rename DateUtils to UserTime

This commit is contained in:
Matt Rogers 2013-07-29 21:51:15 -05:00
parent 6c695aa61a
commit 8512e8db3b
6 changed files with 18 additions and 9 deletions

View file

@ -164,7 +164,7 @@ class User < ActiveRecord::Base
end
def date
time.midnight
UserTime.new(self).midnight(Time.now)
end
def generate_token