Actions
Bug #13557
closedEnforce specifying a time zone via Rubocop
Status:
Closed
Priority:
Normal
Assignee:
Category:
Web Interface
Target version:
Description
Rubocop can enforce what timezone to store in the database via Rubocop, so we can ensure everything is stored using UTC and we don't miss these things in code reviews. When objects are displayed, they must use the time provided by set_timezone in the controller.
This is particularly relevant for Trends, Puppet graphs, etc... to ensure they are stored always properly.
Actions