diff options
author | aarongray <aaron@ponderyourpath.com> | 2016-06-21 17:22:56 -0600 |
---|---|---|
committer | aarongray <aaron@ponderyourpath.com> | 2016-06-21 17:22:56 -0600 |
commit | b30805bd460542bbd3d8484656cf7b0fde5434d5 (patch) | |
tree | c856135206e311e3f5ebe30cb3b6b427628f2706 /actionview/CHANGELOG.md | |
parent | 13a1110079be89b1875f44de80bec3735d243ab3 (diff) | |
download | rails-b30805bd460542bbd3d8484656cf7b0fde5434d5.tar.gz rails-b30805bd460542bbd3d8484656cf7b0fde5434d5.tar.bz2 rails-b30805bd460542bbd3d8484656cf7b0fde5434d5.zip |
Create times in rails timezone not system timezone [ci skip]
Time.new is a Ruby method that uses system timezone. Traveling in time
using it is a recipe for confusion. Instead, Time.zone.local should
be used since it uses the Rails timezone.
Diffstat (limited to 'actionview/CHANGELOG.md')
0 files changed, 0 insertions, 0 deletions