diff options
author | Andrew White <andyw@pixeltrix.co.uk> | 2012-07-01 09:11:21 +0100 |
---|---|---|
committer | Andrew White <andyw@pixeltrix.co.uk> | 2012-07-01 09:11:21 +0100 |
commit | 98b46bf5e201307cae56ee14bf41363a539779c5 (patch) | |
tree | 8a362b8d7b3fbe9d2800580f1e962a99efb0fe2d /activerecord/lib/active_record/attribute_methods.rb | |
parent | 73bddd12a4311debf264e8beb226b296ef568dd6 (diff) | |
download | rails-98b46bf5e201307cae56ee14bf41363a539779c5.tar.gz rails-98b46bf5e201307cae56ee14bf41363a539779c5.tar.bz2 rails-98b46bf5e201307cae56ee14bf41363a539779c5.zip |
Make Time#change work with offsets other than UTC or local
Use Time.new to create times where the current offset is not zero or
not in the local time zone - closes #4847 and #6651.
Diffstat (limited to 'activerecord/lib/active_record/attribute_methods.rb')
0 files changed, 0 insertions, 0 deletions