[#4604] Store caching timestamps in the database as UTC
This commit is contained in:
@@ -81,7 +81,7 @@ class Rate < ActiveRecord::Base
|
|||||||
end
|
end
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
store_cache_timestamp('last_caching_run', Time.now.to_s)
|
store_cache_timestamp('last_caching_run', Time.now.utc.to_s)
|
||||||
end
|
end
|
||||||
|
|
||||||
def self.update_all_time_entries_to_refresh_cache(options={})
|
def self.update_all_time_entries_to_refresh_cache(options={})
|
||||||
@@ -94,7 +94,7 @@ class Rate < ActiveRecord::Base
|
|||||||
end
|
end
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
store_cache_timestamp('last_cache_clearing_run', Time.now.to_s)
|
store_cache_timestamp('last_cache_clearing_run', Time.now.utc.to_s)
|
||||||
end
|
end
|
||||||
|
|
||||||
private
|
private
|
||||||
|
|||||||
Reference in New Issue
Block a user