diff options
author | Andrew White <andyw@pixeltrix.co.uk> | 2013-07-29 12:28:19 +0100 |
---|---|---|
committer | Andrew White <andyw@pixeltrix.co.uk> | 2013-07-29 12:31:20 +0100 |
commit | 88c0ef4d4fc86faefeec5bfff87ad882f62468d8 (patch) | |
tree | 395cf236c5bb23795dcffb613cdc7721b3da1554 /activerecord/lib/active_record/runtime_registry.rb | |
parent | cde979c38832b99d8c85b5f44f7357931ade1ee0 (diff) | |
download | rails-88c0ef4d4fc86faefeec5bfff87ad882f62468d8.tar.gz rails-88c0ef4d4fc86faefeec5bfff87ad882f62468d8.tar.bz2 rails-88c0ef4d4fc86faefeec5bfff87ad882f62468d8.zip |
Fix handling of offsets with Time#to_s(:iso8601)
Use a lambda to ensure that the generated string respects the offset of
the time value. Also add DateTime#to_s(:iso8601) and Date#to_s(:iso8601)
for completeness.
Diffstat (limited to 'activerecord/lib/active_record/runtime_registry.rb')
0 files changed, 0 insertions, 0 deletions