DEPRECATION WARNING: `to_time` will always preserve the full timezone rather than offset of the receiver in Rails 8.1. To opt in to the new behavior, set `config.active_support.to_time_preserves_timezone = :zone`. (called from <class:Application> at

15 views
Skip to first unread message

Skylar

unread,
Mar 24, 2026, 11:20:40 AM (8 days ago) Mar 24
to Canvas LMS Users
Hello,

Starting with Canvas 2026-02-11 release, reporting that I started seeing this deprecation warning during db migrations, apache error log, and delayed job logs.

DEPRECATION WARNING: `to_time` will always preserve the full timezone rather than offset of the receiver in Rails 8.1. To opt in to the new behavior, set `config.active_support.to_time_preserves_timezone = :zone`. (called from <class:Application> at /var/canvas/config/application.rb:62)

Does canvas have plans to address this or should we opt in to the new behavior?

Thanks!

Cody Cutrer

unread,
Mar 24, 2026, 11:22:11 AM (8 days ago) Mar 24
to canvas-l...@googlegroups.com
It will be addressed at some time in the future. It's just a warning at this point; when we start working on the upgrading to Rails 8.1 it will be addressed.

Cody Cutrer
Software Engineer
Instructure

--

---
You received this message because you are subscribed to the Google Groups "Canvas LMS Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to canvas-lms-use...@googlegroups.com.
To view this discussion visit https://groups.google.com/d/msgid/canvas-lms-users/98b93529-7b4d-4c64-98a4-5c06cb453003n%40googlegroups.com.

Skylar

unread,
Mar 24, 2026, 6:31:09 PM (8 days ago) Mar 24
to Canvas LMS Users
Thanks - I appreciate it!
Reply all
Reply to author
Forward
0 new messages