aboutsummaryrefslogtreecommitdiffstats
path: root/activesupport/lib/active_support/core_ext/date_and_time/calculations.rb
Commit message (Expand)AuthorAgeFilesLines
* Delete `DateAndTime` method definition in rails that is compatible with ruby ...soartec-lab2019-06-161-30/+0
* Refactor calculating beginning_of_quarter and end_of_quarter (#34927)Krzysztof Rybka2019-01-141-2/+2
* Merge pull request #33106 from marcandre/datecalcRafael Mendonça França2018-06-111-15/+12
|\
| * Use fetch for better error handlingMarc-Andre Lafortune2018-06-091-2/+2
| * Use same weekday correspondance as Date#wday.Marc-Andre Lafortune2018-06-091-13/+10
|/
* Improve grammar for DateAndTime before? and after? calculations [ci skip]Aaron Sumner2018-05-241-2/+2
* Move implementation of `before?` and `after?` to `DateAndTime::Calculations`bogdanvlviv2018-03-311-0/+10
* Refactor Date/Time next_occurring and prev_occurringT.J. Schuck2017-11-281-4/+12
* Allows pass argument for `Time#prev_year` and `Time#next_year`.bogdanvlviv2017-10-241-5/+9
* Allows pass argument for `Time#prev_month` and `Time#next_month`bogdanvlviv2017-10-241-5/+9
* Allows pass argument for `Time#prev_day` and `Time#next_day`bogdanvlviv2017-10-241-6/+6
* [Active Support] require_relative => requireAkira Matsuda2017-10-211-1/+1
* [Active Support] `rubocop -a --only Layout/EmptyLineAfterMagicComment`Koichi ITO2017-07-111-0/+1
* Use frozen-string-literal in ActiveSupportKir Shatrov2017-07-091-0/+1
* [Active Support] require => require_relativeAkira Matsuda2017-07-011-1/+1
* Add next occur and previous occurred day of week API (#26600)Shota Iguchi2017-05-301-0/+16
* Fix copy_time_to: Copy nsec instead of usecJosua Schmid2016-10-201-1/+1
* fix typo in `DateAndTime::Calculations#all_week` doc [ci skip]yuuji.yaginuma2016-09-271-1/+1
* modernizes hash syntax in activesupportXavier Noria2016-08-061-20/+20
* applies new string literal convention in activesupport/libXavier Noria2016-08-061-1/+1
* Introduce Date#all_dayHenrik Nyh2016-05-111-0/+5
* Add missing require to tryRafael Mendonça França2016-03-111-0/+2
* Add `#on_weekday?` method to `Date`, `Time`, and `DateTime`.Vipul A M2016-02-151-0/+5
* Renamed ‘Return’ to ‘Returns’ [ci skip]Ronak Jangir2015-09-281-1/+1
* added examples to DateAndTime::Calculations [ci skip]Julio Lopez2015-07-181-9/+34
* Merge pull request #20049 from iamvery/patch-1Yves Senn2015-05-071-1/+13
|\
| * Add examples of Date and Time `next_week` usageJay Hayes2015-05-071-0/+7
|/
* Use Ruby's #include? to avoid relying on AS extensionCarlos Antonio da Silva2015-01-061-1/+1
* Add #prev_day and #next_day as counterparts to #yesterday and #tomorrow for D...George Claghorn2015-01-061-6/+16
* Add same_time option to #prev_week and #next_week for Date, Time, and DateTimeGeorge Claghorn2015-01-061-17/+22
* Add #on_weekend?, #next_weekday, and #prev_weekday methods to Date, Time, and...George Claghorn2015-01-061-0/+25
* Added Date#all_week/month/quarter/year for generating date rangesDimko2013-12-031-0/+21
* No need to use blocks hereAndrew White2013-08-041-11/+9
* formattingJon Rowe2013-04-261-1/+1
* better document `next_week` functionaility closes #9568Jon Rowe2013-04-261-5/+5
* Fixed TypoPrathamesh Sonpatki2013-04-041-1/+1
* Date.beginning_of_week thread local and beginning_of_week application config ...gregolsen2012-09-181-15/+34
* Remove unused variableRafael Mendonça França2012-08-261-1/+1
* Refactored common date and time calculations.Pan Thomakos2012-08-041-0/+213