aboutsummaryrefslogtreecommitdiffstats
path: root/activesupport/lib/active_support/core_ext/time/calculations.rb
Commit message (Expand)AuthorAgeFilesLines
* Fix Time#advance to work with dates before 1001-03-07Andrew White2019-03-181-2/+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] require_relative => requireAkira Matsuda2017-10-211-6/+6
* [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-6/+6
* Add additional options to time `change` methodsAndrew White2017-04-141-15/+21
* Add `Time.rfc3339` parsing methodAndrew White2017-03-031-0/+23
* Add more rubocop rules about whitespacesRafael Mendonça França2016-10-291-1/+1
* applies remaining conventions across the projectXavier Noria2016-08-061-1/+0
* modernizes hash syntax in activesupportXavier Noria2016-08-061-15/+15
* applies new string literal convention in activesupport/libXavier Noria2016-08-061-7/+7
* Introduce Date#all_dayHenrik Nyh2016-05-111-5/+0
* Change Time#sec_fraction to use subsecAndrew White2016-04-231-2/+2
* Add Time#sec_fractionAndrew White2016-04-231-0/+7
* delete code commented out (and replaced) in e93d0a5Tony Ta2015-12-151-1/+0
* Add days_in_year methodJon Pascoe2015-11-101-0/+6
* Merge pull request #21868 from tanmay3011/fix_time_class_documentationVijay Dev2015-10-051-3/+3
|\
| * [ci skip] Fix #seconds_since_midnight documentation output it will always ret...Tanmay Sinha2015-10-051-3/+3
* | Merge pull request #21863 from tanmay3011/use_applications_yearSean Griffin2015-10-041-1/+1
|\ \
| * | Use Time#current instead of Time#now to prevent zone issue inorder to use app...Tanmay Sinha2015-10-041-1/+1
| |/
* / Renamed ‘Return’ to ‘Returns’ [ci skip]Ronak Jangir2015-09-281-1/+1
|/
* Merge pull request #20534 from qnm/activesupport-require-issueYves Senn2015-09-071-0/+1
|\
| * Add missing require to ensure #advance will work without being implicity requ...Rob Sharp2015-06-121-0/+1
* | [ci skip] Update Time#advance documentation with examplesMichael Stock2015-08-021-0/+6
|/
* Fix a range of values for parameters of the Time#changeNikolay Kondratyev2015-06-011-1/+1
* Revert "Replace use of alias chains with prepend at core_ext/date and core_ex...Roque Pinel2015-05-291-2/+57
* Replace use of alias chains with prepend at core_ext/datePablo Herrero2015-05-041-57/+2
* Only coerce time when comparing if necessaryAaron Jensen2015-03-311-2/+4
* [ci skip] Update documentation for Time#seconds_since_midnightAnton Davydov2015-03-061-1/+5
* Fix typo in Time#change docsJohn Duff2015-02-021-1/+1
* Remove some comments about Ruby 1.9 behaviorsRafael Mendonça França2015-01-041-3/+3
* Time#change can now change nanoseconds (:nsec)Agis-2014-09-141-6/+13
* Time#change throws exception with an out-of-range :usecAgis-2014-09-041-0/+1
* Merge pull request #10634 from teleological/time_advance_gregorianAndrew White2014-01-051-4/+6
|\
| * Maintain proleptic gregorian in Time#advanceRiley Lynch2013-05-151-4/+6
* | Added Date#all_week/month/quarter/year for generating date rangesDimko2013-12-031-21/+0
* | Merge pull request #10879 from makaroni4/masterAndrew White2013-07-291-0/+10
|\ \
| * | Added Time#middle_of_dayAnatoli Makarevich2013-07-281-0/+10
| |/
* | Return local time for backwards compatibilityAndrew White2013-07-091-1/+1
* | Retain UTC offset when using Time.at_with_coercionAndrew White2013-07-091-3/+8
* | Fix microsecond precision of Time#at_with_coercionNeer Friedman2013-07-091-1/+1
* | Removed unsued deprecation requireRashmi Yadav2013-07-041-1/+0
* | Remove deprecated `Time#time_with_datetime_fallback`, `Time#utc_time`Vipul A M2013-07-031-35/+0
* | Override Time.at to work with Time-like valuesAndrew White2013-06-081-0/+12
|/
* 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/+15
* Deprecate obsolete Time to DateTime fallback methodsAndrew White2012-12-111-0/+10
* Add missing at_end_of_* aliasesAndrew White2012-12-111-0/+2