Module: Clock::Localized::Defaults
- Defined in:
- lib/clock/localized.rb
Class Method Summary collapse
Class Method Details
.timezone_identifier(timezone_identifier) ⇒ Object
39 40 41 42 43 44 45 46 47 48 49 50 51 |
# File 'lib/clock/localized.rb', line 39 def self.timezone_identifier(timezone_identifier) env_identifier = ENV['TIMEZONE'] if env_identifier timezone_identifier = env_identifier end unless timezone_identifier timezone_identifier = 'America/Mexico_City' end timezone_identifier end |