aboutsummaryrefslogtreecommitdiffstats
path: root/activesupport/lib/active_support/core_ext/date_time
Commit message (Expand)AuthorAgeFilesLines
* Enable `Layout/EmptyLinesAroundAccessModifier` copRyuta Kamizono2019-06-131-1/+0
* 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
* Fix "the the " [ci skip]Ryuta Kamizono2018-01-101-1/+1
* Update incorrect backtick usage in RDoc to teletypeT.J. Schuck2017-11-221-2/+2
* [Active Support] require_relative => requireAkira Matsuda2017-10-213-7/+7
* Clarify intentions around method redefinitionsMatthew Draper2017-09-011-2/+2
* [Active Support] `rubocop -a --only Layout/EmptyLineAfterMagicComment`Koichi ITO2017-07-115-0/+5
* Use frozen-string-literal in ActiveSupportKir Shatrov2017-07-095-0/+5
* [Active Support] require => require_relativeAkira Matsuda2017-07-013-7/+7
* Add missing require for `remove_possible_method`Eugene Kenny2017-04-281-0/+1
* Move `to_time` to `DateTime` compatibility.rb fileAndrew White2017-03-161-1/+11
* Update `DateTime#change` to support usec and nsecAndrew White2017-03-021-4/+14
* Add more rubocop rules about whitespacesRafael Mendonça França2016-10-291-1/+1
* normalizes indentation and whitespace across the projectXavier Noria2016-08-061-6/+6
* modernizes hash syntax in activesupportXavier Noria2016-08-061-8/+8
* applies new string literal convention in activesupport/libXavier Noria2016-08-065-10/+10
* 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-232-11/+12
* Add compatibility for Ruby 2.4 `to_time` changesAndrew White2016-04-231-0/+16
* Call super instead of returning nil for DateTime#<=>Andrew White2016-04-031-5/+2
* Remove not needed includingyui-knk2016-04-021-6/+0
* Update docs for `formatted_offset` Ronak Jangir2015-09-291-0/+2
* Short-circuit `blank?` on date and time valuesAndrew White2015-09-211-0/+12
* 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
* `DateTime#to_f` now preserves fractional seconds.John Paul Ashenfelter2014-07-021-2/+2
* 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
|/
* Refactor Date, Time, DateTime timezone methodsGilad Zohari2013-08-011-21/+2
* 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
* | Fix handling of offsets with Time#to_s(:iso8601)Andrew White2013-07-291-0/+1
* | Add missing require so that DateTime has the right superclassAndrew White2013-07-101-0/+1
* | Removed unsued deprecation requireRashmi Yadav2013-07-041-1/+0
* | Remove deprecated `DateTime.local_offset`Arun Agrawal2013-07-031-7/+0
* | Keep sub-second resolution when wrapping a DateTime valueAndrew White2013-06-131-0/+10
|/
* Squashed commit of the following:Aaron Patterson2013-05-032-5/+7
* Fixes Dependency bug in Active SupportTomohiko Himura2013-05-023-0/+3
* 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-042-7/+5