mirror of
https://github.com/openSUSE/osem.git
synced 2026-08-13 19:54:02 +00:00
Set application timezone in ENV
This commit is contained in:
parent
ed6b2d8c93
commit
84d60f4f3e
2 changed files with 4 additions and 1 deletions
|
|
@ -29,7 +29,7 @@ module Osem
|
|||
|
||||
# Set Time.zone default to the specified zone and make Active Record auto-convert to this zone.
|
||||
# Run "rake -D time" for a list of tasks for finding time zone names. Default is UTC.
|
||||
# config.time_zone = 'Central Time (US & Canada)'
|
||||
config.time_zone = (ENV['OSEM_TIME_ZONE'] || 'UTC')
|
||||
|
||||
# The default locale is :en and all translations from config/locales/*.rb,yml are auto loaded.
|
||||
# config.i18n.load_path += Dir[Rails.root.join('my', 'locales', '*.{rb,yml}').to_s]
|
||||
|
|
|
|||
|
|
@ -30,6 +30,9 @@
|
|||
# The ruby version to use
|
||||
# OSEM_RUBY_VERSION=2.5.0
|
||||
|
||||
# What time is it?
|
||||
# OSEM_TIME_ZONE="UTC"
|
||||
|
||||
# The name of your OSEM installation
|
||||
# OSEM_NAME=OSEM
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue