Une time zone est mise en place dans le fichier de config principal
This commit is contained in:
parent
6f66432487
commit
ebca7afa78
@ -1,6 +1,3 @@
|
||||
-# Otherwise the simple calendar could be empty during the first hours of a new month
|
||||
- Time.zone = 'Paris'
|
||||
|
||||
%form.region_selector
|
||||
- if params[:start_date]
|
||||
= hidden_field_tag :start_date, params[:start_date]
|
||||
|
@ -15,6 +15,7 @@ module AgendaDuLibreRails
|
||||
# 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 = 'Paris'
|
||||
|
||||
# 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]
|
||||
|
Loading…
Reference in New Issue
Block a user