Set config.active_support.to_time_preserves_timezone to :zone to preserve the receiver timezone and to fix the deprecation warning (#43231).

git-svn-id: https://svn.redmine.org/redmine/trunk@24052 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
Marius Balteanu
2025-10-14 21:18:54 +00:00
parent 7d8aa8bcdf
commit 950f710a70

View File

@@ -32,6 +32,7 @@ module RedmineApp
config.active_support.remove_deprecated_time_with_zone_name = true
config.active_support.cache_format_version = 7.0
config.active_support.to_time_preserves_timezone = :zone
config.active_record.store_full_sti_class = true
config.active_record.default_timezone = :local