mirror of
https://github.com/TracksApp/tracks.git
synced 2026-01-23 09:16:10 +01:00
rename DateUtils to UserTime
This commit is contained in:
parent
6c695aa61a
commit
8512e8db3b
6 changed files with 18 additions and 9 deletions
|
|
@ -22,6 +22,6 @@ class Preference < ActiveRecord::Base
|
|||
raise ArgumentError.new("Bad argument type:#{s.class}")
|
||||
end
|
||||
|
||||
DateUtils::midnight_for(self, date)
|
||||
UserTime.new(user).midnight(date)
|
||||
end
|
||||
end
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue