1
0
Fork 0
mirror of https://github.com/rails/rails.git synced 2022-11-09 12:12:34 -05:00
rails--rails/activesupport
Andrew White a56b150b64 Adjust for daylight savings in String#to_time
The changes in b79adc4323 had a bug where if the time in the String
was in standard time but the current time was in daylight savings then
the calculated adjustment was off by an hour.

This commit fixes this and adds extra tests for the following:

* time in string is standard time, current time is standard time
* time in string is standard time, current time is daylight savings
* time in string is daylight savings, current time is standard time
* time in string is daylight savings, current time is daylight savings

Fixes #10306.
2013-04-23 12:48:31 +01:00
..
bin
lib Adjust for daylight savings in String#to_time 2013-04-23 12:48:31 +01:00
test Adjust for daylight savings in String#to_time 2013-04-23 12:48:31 +01:00
activesupport.gemspec Bump TZInfo version to 0.3.37 based on version v2013b of the underlying tz data. 2013-03-26 02:12:49 +09:00
CHANGELOG.md Move CHANGELOG entry to top 2013-04-22 01:42:30 -03:00
MIT-LICENSE Updated copyright notices for 2013 2012-12-31 20:35:29 +00:00
Rakefile extra lines from Rakefile removed, which also threw warning 2013-03-17 15:32:47 +05:30
README.rdoc Corrected link anchor and added colons for continuity 2013-02-19 11:11:42 -05:00

= Active Support -- Utility classes and Ruby extensions from Rails

Active Support is a collection of utility classes and standard library
extensions that were found useful for the Rails framework. These additions
reside in this package so they can be loaded as needed in Ruby projects
outside of Rails.


== Download and installation

The latest version of Active Support can be installed with RubyGems:

  % [sudo] gem install activesupport

Source code can be downloaded as part of the Rails project on GitHub:

* https://github.com/rails/rails/tree/master/activesupport


== License

Active Support is released under the MIT license:

* http://www.opensource.org/licenses/MIT


== Support

API documentation is at:

* http://api.rubyonrails.org

Bug reports and feature requests can be filed with the rest for the Ruby on Rails project here:

* https://github.com/rails/rails/issues