aboutsummaryrefslogtreecommitdiffstats
path: root/app/models/referential.rb
diff options
context:
space:
mode:
authorBruno Perles2016-01-06 11:26:52 +0100
committerBruno Perles2016-01-06 11:26:52 +0100
commitc21b3e014adeac67bd8d252bea4899a2d77ba9bf (patch)
treefd7962fb3b1a6c5bee9bced5519703760b48106c /app/models/referential.rb
parent044e8d94b5a3528d6cdf975a29496204d532a548 (diff)
downloadchouette-core-c21b3e014adeac67bd8d252bea4899a2d77ba9bf.tar.bz2
Update time_zone from Referential to tzinfo : #33784
Diffstat (limited to 'app/models/referential.rb')
-rw-r--r--app/models/referential.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/models/referential.rb b/app/models/referential.rb
index aa2c3d838..eff7c4869 100644
--- a/app/models/referential.rb
+++ b/app/models/referential.rb
@@ -102,7 +102,7 @@ class Referential < ActiveRecord::Base
after_initialize :define_default_attributes
def define_default_attributes
- self.time_zone ||= Time.zone.name
+ self.time_zone ||= Time.zone.tzinfo.name
end
def switch