[#4604] Store caching timestamps in the database as UTC

This commit is contained in:
Eric Davis
2010-10-13 12:50:20 -07:00
parent 52622a678e
commit 5200eacd36

View File

@@ -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