diff options
| author | Bruno Perles | 2016-01-06 11:26:52 +0100 |
|---|---|---|
| committer | Bruno Perles | 2016-01-06 11:26:52 +0100 |
| commit | c21b3e014adeac67bd8d252bea4899a2d77ba9bf (patch) | |
| tree | fd7962fb3b1a6c5bee9bced5519703760b48106c /app/models/referential.rb | |
| parent | 044e8d94b5a3528d6cdf975a29496204d532a548 (diff) | |
| download | chouette-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.rb | 2 |
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 |
