mirror of
https://github.com/TracksApp/tracks.git
synced 2026-03-04 20:10:16 +01:00
Merge pull request #1903 from lrbalt/fix-test-errors
Fix failing tests for non-UTC timezones
This commit is contained in:
commit
1c0a70df75
27 changed files with 205 additions and 198 deletions
|
|
@ -30,10 +30,10 @@ module Tracksapp
|
|||
|
||||
# configure Tracks to handle deployment in a subdir
|
||||
config.relative_url_root = SITE_CONFIG['subdir'] if SITE_CONFIG['subdir']
|
||||
|
||||
|
||||
# allow onenote:// and message:// as protocols for urls
|
||||
config.action_view.sanitized_allowed_protocols = 'onenote', 'message'
|
||||
|
||||
|
||||
config.middleware.insert_after ActionDispatch::ParamsParser, ActionDispatch::XmlParamsParser
|
||||
end
|
||||
end
|
||||
|
|
|
|||
|
|
@ -34,8 +34,6 @@ Rails.application.configure do
|
|||
# Print deprecation notices to the stderr.
|
||||
config.active_support.deprecation = :stderr
|
||||
|
||||
config.time_zone = 'UTC'
|
||||
|
||||
# Raises error for missing translations
|
||||
# config.action_view.raise_on_missing_translations = true
|
||||
end
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue