1
0
Fork 0
mirror of https://github.com/rails/rails.git synced 2022-11-09 12:12:34 -05:00
rails--rails/activesupport/test
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
..
autoloading_fixtures
core_ext Adjust for daylight savings in String#to_time 2013-04-23 12:48:31 +01:00
dependencies
deprecation
fixtures JDOM XXE Protection [CVE-2013-1856] 2013-03-15 17:46:15 -07:00
json
notifications
testing determine_constant_from_test_name does not swallow NoMethodErrors [Yves Senn] 2013-03-28 10:04:39 +01:00
xml_mini Added missing assert 2013-04-02 11:50:25 +05:30
abstract_unit.rb
autoload_test.rb
benchmarkable_test.rb
broadcast_logger_test.rb
caching_test.rb switch (and lazily convert) ivar names to 3.x 2013-04-16 13:18:52 -04:00
callback_inheritance_test.rb Removed unused setup 2013-04-10 16:57:12 +05:30
callbacks_test.rb Fixes skipping object callback filters 2013-04-04 16:11:13 -07:00
class_cache_test.rb
clean_backtrace_test.rb
clean_logger_test.rb
concern_test.rb
configurable_test.rb
constantize_test_cases.rb
dependencies_test.rb
dependencies_test_helpers.rb
deprecation_test.rb
descendants_tracker_test_cases.rb
descendants_tracker_with_autoloading_test.rb fix some typos in AS 2013-03-30 14:01:42 +05:30
descendants_tracker_without_autoloading_test.rb
empty_bool.rb
file_update_checker_test.rb
gzip_test.rb
i18n_test.rb
inflector_test.rb Revert "Merge pull request #10158 from steveklabnik/issue_10125" 2013-04-10 12:44:39 -03:00
inflector_test_cases.rb
key_generator_test.rb
lazy_load_hooks_test.rb
load_paths_test.rb
log_subscriber_test.rb
logger_test.rb
message_encryptor_test.rb
message_verifier_test.rb
multibyte_chars_test.rb
multibyte_conformance.rb
multibyte_test_helpers.rb
multibyte_unicode_database_test.rb
notifications_test.rb
number_helper_i18n_test.rb
number_helper_test.rb
option_merger_test.rb
ordered_hash_test.rb refactor order hash test 2013-04-11 21:55:45 +05:30
ordered_options_test.rb fix some typos in AS 2013-03-30 14:01:42 +05:30
rescuable_test.rb
safe_buffer_test.rb
string_inquirer_test.rb
tagged_logging_test.rb
test_case_test.rb
test_test.rb
time_zone_test.rb
transliterate_test.rb fix repeat of test; remove unused variable by use of each_key 2013-03-18 19:58:02 +05:30
ts_isolated.rb
xml_mini_test.rb