aboutsummaryrefslogtreecommitdiffstats
path: root/activesupport/test/core_ext/date_ext_test.rb
Commit message (Expand)AuthorAgeFilesLines
* Delete `DateAndTime` method definition in rails that is compatible with ruby ...soartec-lab2019-06-161-16/+0
* 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
* 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 tests for `blank?`kenta-s2017-02-061-0/+4
* Add more rubocop rules about whitespacesRafael Mendonça França2016-10-291-71/+71
* normalizes indentation and whitespace across the projectXavier Noria2016-08-061-1/+0
* modernizes hash syntax in activesupportXavier Noria2016-08-061-22/+22
* applies new string literal convention in activesupport/testXavier Noria2016-08-061-25/+25
* Don't blank pad day of the month when formatting datesSean Griffin2016-06-021-0/+11
* Introduce Date#all_dayHenrik Nyh2016-05-111-0/+17
* Raise `ArgumentError` when an invalid form is passed to `Date#to_time`yui-knk2016-04-171-0/+4
* Removed mocha stubbing in active_supportRonak Jangir2015-06-071-14/+19
* Extract out with_env_tz helper method.Zuhao Wan2014-06-181-16/+2
* Added Date#all_week/month/quarter/year for generating date rangesDimko2013-12-031-0/+17
* Merge pull request #10879 from makaroni4/masterAndrew White2013-07-291-0/+4
|\
| * Added Time#middle_of_dayAnatoli Makarevich2013-07-281-0/+4
* | Fix handling of offsets with Time#to_s(:iso8601)Andrew White2013-07-291-0/+1
* | Remove deprecated `Date#to_time_in_current_zone`Vipul A M2013-07-021-7/+0
|/
* Allow Date to be compared with Time (like it was possible to compare Time wit...David Heinemeier Hansson2013-06-031-0/+4
* Squashed commit of the following:Aaron Patterson2013-05-031-5/+0
* Standardise the return value of `to_time`Andrew White2013-01-211-2/+6
* Remove assert_nothing_raisedRafael Mendonça França2013-01-031-4/+2
* Added ability to compare date/time with infinitybUg2013-01-041-0/+7
* Deprecate obsolete Time to DateTime fallback methodsAndrew White2012-12-111-1/+1
* Deprecate Date#to_time_in_current_zoneAndrew White2012-12-111-0/+8
* Refactored common date and time calculations.Pan Thomakos2012-08-041-158/+15
* Add prev_quarter and next_quarter method in Time/Date/DateTimeparanoiase Kang2012-06-201-0/+12
* respect nsec in TimeWithZoneVasiliy Ermolovich + Sergey Nartimov2012-05-181-2/+2
* Adding :last_week, :last_month, and :last_year aliases to Time and DateMatt Bridges2012-02-211-0/+24
* use AS::TestCase as the base classAaron Patterson2012-01-051-1/+1
* Initial pass at removing dead 1.8.x code from Active Support.José Valim2011-12-201-10/+0
* add more tests for monday and sunday methodsVijay Dev2011-11-261-0/+2
* Tests added for monday and sunday Arun Agrawal2011-11-261-0/+8
* Allow a Date to be frozen more than once without an error in Ruby 1.8.xBradley Buda2011-06-081-0/+6
* removing stubs. 1.9.3 implements Date.today in C so mocking the return value ...Aaron Patterson2011-03-071-9/+4
* updated Time, Date and DateTime current methods in AS to use Time.zone and no...Josh Kalderimis2011-02-281-16/+16
* Add Date#rfc3339 and Date#iso8601 to ASSantiago Pastorino2011-02-131-0/+10
* implements weeks_ago and prev_week for Date/DateTime/Time [#5122 state:commit...Rob Zolkos & Xavier Noria2010-10-161-0/+16
* Deletes trailing whitespaces (over text files only find * -type f -exec sed '...Santiago Pastorino2010-08-141-8/+8
* Date#since, #ago, #beginning_of_day, #end_of_day, #xmlschema return TimeWithZ...Geoff Buesing2010-06-121-1/+50
* oops, two cancelling errors made a previous test pass, fixing itXavier Noria2010-06-071-1/+1
* the order in which we apply deltas in Date#advance matters, add test coverage...Xavier Noria2010-06-071-0/+10