Fix all Rails/TimeZone rubocop issues and remove files from rubocop_todo list

This commit is contained in:
Bertocq
2017-06-21 20:47:53 +02:00
parent 6529e37ae8
commit d759aca522
5 changed files with 18 additions and 27 deletions

View File

@@ -1,6 +1,6 @@
module ScoreCalculator
EPOC = Time.new(2015, 6, 15)
EPOC = Time.new(2015, 6, 15).in_time_zone
COMMENT_WEIGHT = 1.0/5 # 1 positive vote / x comments
TIME_UNIT = 24.hours.to_f