aboutsummaryrefslogtreecommitdiffstats
path: root/ci
diff options
context:
space:
mode:
authoraarongray <aaron@ponderyourpath.com>2016-06-21 17:22:56 -0600
committeraarongray <aaron@ponderyourpath.com>2016-06-21 17:22:56 -0600
commitb30805bd460542bbd3d8484656cf7b0fde5434d5 (patch)
treec856135206e311e3f5ebe30cb3b6b427628f2706 /ci
parent13a1110079be89b1875f44de80bec3735d243ab3 (diff)
downloadrails-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 'ci')
0 files changed, 0 insertions, 0 deletions