aboutsummaryrefslogtreecommitdiffstats
path: root/activesupport/test/core_ext/time_ext_test.rb
Commit message (Expand)AuthorAgeFilesLines
* Delete `DateAndTime` method definition in rails that is compatible with ruby ...soartec-lab2019-06-161-0/+60
* Fix Time#advance to work with dates before 1001-03-07Andrew White2019-03-181-0/+2
* Fix spellings for 'unmarshall(ing/ed)' & 'marshall(ing/ed)'Sharang Dashputre2018-10-021-19/+19
* Move implementation of `before?` and `after?` to `DateAndTime::Calculations`bogdanvlviv2018-03-311-12/+0
* Add `before?` and `after?` methods to date and time classesNick Holden2018-03-061-0/+12
* Remove extra whitespaceDaniel Colson2018-01-251-10/+10
* Use assert_predicate and assert_not_predicateDaniel Colson2018-01-251-2/+2
* Enable `Layout/LeadingCommentSpace` to not allow cosmetic changes in the futureRyuta Kamizono2017-12-141-3/+3
* Allows pass argument for `Time#prev_year` and `Time#next_year`.bogdanvlviv2017-10-241-4/+0
* Allows pass argument for `Time#prev_month` and `Time#next_month`bogdanvlviv2017-10-241-4/+0
* [Active Support] `rubocop -a --only Layout/EmptyLineAfterMagicComment`Koichi ITO2017-07-111-0/+1
* Use frozen-string-literal in ActiveSupportKir Shatrov2017-07-091-0/+1
* Revert "Merge pull request #29540 from kirs/rubocop-frozen-string"Matthew Draper2017-07-021-1/+0
* Enforce frozen string in RubocopKir Shatrov2017-07-011-0/+1
* Add additional options to time `change` methodsAndrew White2017-04-141-0/+7
* Add `rfc3339` aliases to `xmlschema`Andrew White2017-03-031-0/+5
* Add `Time.rfc3339` parsing methodAndrew White2017-03-031-0/+31
* "Use assert_nil if expecting nil. This will fail in minitest 6."Akira Matsuda2016-12-251-1/+1
* Add more rubocop rules about whitespacesRafael Mendonça França2016-10-291-302/+302
* modernizes hash syntax in activesupportXavier Noria2016-08-061-93/+93
* applies new string literal convention in activesupport/testXavier Noria2016-08-061-236/+236
* Change Time#sec_fraction to use subsecAndrew White2016-04-231-0/+14
* remove args from assert_nothing_raised in testsTara Scherner de la Fuente2016-02-221-1/+1
* Add days_in_year methodJon Pascoe2015-11-101-0/+19
* fixes #21815Maarten Jacobs2015-10-161-0/+1
* Merge pull request #18365 from pocke/fix_datatime_compareAaron Patterson2015-06-121-0/+7
|\
| * DateTime#<=> return nil when compare to the invalid String as Time.pocke2015-01-061-0/+7
* | Removed mocha stubbing in active_supportRonak Jangir2015-06-071-42/+50
* | Fix a range of values for parameters of the Time#changeNikolay Kondratyev2015-06-011-0/+4
|/
* Time#change can now change nanoseconds (:nsec)Agis-2014-09-141-0/+7
* Time#change throws exception with an out-of-range :usecAgis-2014-09-041-0/+1
* Extract out with_env_tz helper method.Zuhao Wan2014-06-181-9/+2
* Merge pull request #10634 from teleological/time_advance_gregorianAndrew White2014-01-051-0/+7
|\
| * Maintain proleptic gregorian in Time#advanceRiley Lynch2013-05-151-0/+7
* | Merge pull request #10879 from makaroni4/masterAndrew White2013-07-291-0/+12
|\ \
| * | Added Time#middle_of_dayAnatoli Makarevich2013-07-281-0/+12
| |/
* | Fix handling of offsets with Time#to_s(:iso8601)Andrew White2013-07-291-1/+3
* | Add Time#to_s(:iso8601) for easy conversion of times to the iso8601 format fo...David Heinemeier Hansson2013-07-281-0/+1
* | Return local time for backwards compatibilityAndrew White2013-07-091-8/+25
* | Retain UTC offset when using Time.at_with_coercionAndrew White2013-07-091-0/+33
* | Fix microsecond precision of Time#at_with_coercionNeer Friedman2013-07-091-0/+4
* | Remove deprecated `Time#time_with_datetime_fallback`, `Time#utc_time`Vipul A M2013-07-031-55/+0
* | Override Time.at to work with Time-like valuesAndrew White2013-06-081-0/+22
|/
* Squashed commit of the following:Aaron Patterson2013-05-031-7/+0
* Added beginning_of_minute support to core_ext calculations for Time and DateTimeGagan Awhad2013-02-211-0/+8
* Standardise the return value of `to_time`Andrew White2013-01-211-1/+5
* Remove assert_nothing_raisedRafael Mendonça França2013-01-031-4/+2
* Added ability to compare date/time with infinitybUg2013-01-041-0/+9
* Deprecate obsolete Time to DateTime fallback methodsAndrew White2012-12-111-26/+38
* Add #seconds_until_end_of_day to DateTime and TimeOlek Janiszewski2012-11-291-0/+48