aboutsummaryrefslogtreecommitdiffstats
path: root/activesupport/lib/active_support/core_ext/date_time/calculations.rb
Commit message (Expand)AuthorAgeFilesLines
* Fix issue where duration where always rounded up to a second:Edouard CHIN2018-10-121-1/+1
* Move implementation of `before?` and `after?` to `DateAndTime::Calculations`bogdanvlviv2018-03-311-2/+0
* Add `before?` and `after?` methods to date and time classesNick Holden2018-03-061-0/+2
* [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
* Update `DateTime#change` to support usec and nsecAndrew White2017-03-021-4/+14
* modernizes hash syntax in activesupportXavier Noria2016-08-061-8/+8
* applies new string literal convention in activesupport/libXavier Noria2016-08-061-1/+1
* Make getlocal and getutc always return instances of TimeAndrew White2016-04-231-14/+18
* Add DateTime#subsecAndrew White2016-04-231-0/+7
* Add additional aliases for DateTime#utcAndrew White2016-04-231-0/+2
* Move `DateTime#getlocal` to `/core_ext/date_time/calculations.rb`yui-knk2016-04-231-0/+12
* Call super instead of returning nil for DateTime#<=>Andrew White2016-04-031-5/+2
* DateTime#<=> return nil when compare to the invalid String as Time.pocke2015-01-061-1/+1
* Better doc for AS::DateTime#seconds_since_midnightclaudiob2014-12-041-1/+5
* Fix DateTime comparison with DateTime::Infinity objectRafael Mendonça França2014-08-061-1/+3
* Merge pull request #12080 from ShayDavidson/fix_datetime_partial_datesMatthew Draper2014-05-281-1/+11
|\
| * Added partial days support to `DateTime`'s `advance` method.Shay Davidson2013-08-301-5/+15
* | Check `respond_to` before delegation due to: https://github.com/ruby/ruby/com...Aaron Patterson2014-01-091-1/+5
|/
* Remove duplication from date_time calculationsGilad Zohari2013-07-311-10/+0
* Merge pull request #10879 from makaroni4/masterAndrew White2013-07-291-0/+10
|\
| * Added Time#middle_of_dayAnatoli Makarevich2013-07-281-0/+10
* | Removed unsued deprecation requireRashmi Yadav2013-07-041-1/+0
* | Remove deprecated `DateTime.local_offset`Arun Agrawal2013-07-031-7/+0
|/
* Squashed commit of the following:Aaron Patterson2013-05-031-0/+7
* Fixes Dependency bug in Active SupportTomohiko Himura2013-05-021-0/+1
* Keep second fraction when DateTime#change is called.Chris Baynes2013-02-251-1/+1
* Correct comment for (beginning|end)_of_minuteGert Goet2013-02-221-2/+2
* Added beginning_of_minute support to core_ext calculations for Time and DateTimeGagan Awhad2013-02-211-0/+12
* Clarified the minute option on DateTime#changeJakob Waller2013-01-101-1/+1
* Added ability to compare date/time with infinitybUg2013-01-041-7/+0
* Add missing at_end_of_* aliasesAndrew White2012-12-111-0/+2
* Add #seconds_until_end_of_day to DateTime and TimeOlek Janiszewski2012-11-291-0/+9
* Make caller attribute in deprecation methods optionalAlexey Gaziev2012-10-301-1/+1
* update AS/core_ext docs [ci skip]Francesco Rodriguez2012-09-121-24/+31
* Expand documentation for change() method in Time, Date, and DateTimeJeff Shantz2012-08-291-2/+7
* removing unnecessary 'examples' noise from activesupportFrancesco Rodriguez2012-05-131-2/+0
* added beginning_of_hour support to core_ext calculations for Time and DateTimeMark J. Titorenko2012-05-041-0/+11
* AS core_ext refactoringAlexey Gaziev2012-04-291-12/+21
* Deprecate DateTime.local_offsetbrainopia2012-01-251-1/+5
* Update time zone offset informationbrainopia2012-01-181-1/+1
* revert "fixing some tests on ruby 1.9.3 SHA 33f222b"Vishnu Atrai2012-01-071-23/+0
* Initial pass at removing dead 1.8.x code from Active Support.José Valim2011-12-201-2/+0
* fixing some tests on ruby 1.9.3Aaron Patterson2011-03-071-0/+23
* refactored Time#<=> and DateTime#<=> by removing unnecessary calls without lo...Diego Carrion2011-03-041-8/+2
* updated Time, Date and DateTime current methods in AS to use Time.zone and no...Josh Kalderimis2011-02-281-1/+2
* Refactor move some date, time and date_time methods to */zones and fixed some...Santiago Pastorino2010-07-031-0/+1
* date_time/calculations.rb needs active_support/core_ext/object/acts_like beca...Xavier Noria2010-01-011-0/+1