index
:
rails.git
3-2-stable-for-hmno
master
Mirror of official rails repo with custom fixes.
Harald Eilertsen
about
summary
refs
log
tree
commit
diff
stats
log msg
author
committer
range
path:
root
/
activesupport
/
test
/
core_ext
/
date_time_ext_test.rb
Commit message (
Expand
)
Author
Age
Files
Lines
*
Enable `Layout/LeadingCommentSpace` to not allow cosmetic changes in the future
Ryuta Kamizono
2017-12-14
1
-1
/
+1
*
Refactor Date/Time next_occurring and prev_occurring
T.J. Schuck
2017-11-28
1
-22
/
+0
*
Allows pass argument for `Time#prev_year` and `Time#next_year`.
bogdanvlviv
2017-10-24
1
-4
/
+0
*
Allows pass argument for `Time#prev_month` and `Time#next_month`
bogdanvlviv
2017-10-24
1
-4
/
+0
*
[Active Support] `rubocop -a --only Layout/EmptyLineAfterMagicComment`
Koichi ITO
2017-07-11
1
-0
/
+1
*
Use frozen-string-literal in ActiveSupport
Kir Shatrov
2017-07-09
1
-0
/
+1
*
Revert "Merge pull request #29540 from kirs/rubocop-frozen-string"
Matthew Draper
2017-07-02
1
-1
/
+0
*
Enforce frozen string in Rubocop
Kir Shatrov
2017-07-01
1
-0
/
+1
*
Add next occur and previous occurred day of week API (#26600)
Shota Iguchi
2017-05-30
1
-0
/
+22
*
Add additional options to time `change` methods
Andrew White
2017-04-14
1
-0
/
+3
*
Update `DateTime#change` to support usec and nsec
Andrew White
2017-03-02
1
-11
/
+18
*
Add tests for `blank?`
kenta-s
2017-02-06
1
-0
/
+4
*
"Use assert_nil if expecting nil. This will fail in minitest 6."
Akira Matsuda
2016-12-25
1
-1
/
+1
*
Add more rubocop rules about whitespaces
Rafael Mendonça França
2016-10-29
1
-100
/
+100
*
modernizes hash syntax in activesupport
Xavier Noria
2016-08-06
1
-29
/
+29
*
applies new string literal convention in activesupport/test
Xavier Noria
2016-08-06
1
-21
/
+21
*
Fix tests when preserving timezones
Andrew White
2016-05-05
1
-2
/
+8
*
Make getlocal and getutc always return instances of Time
Andrew White
2016-04-23
1
-1
/
+12
*
Add DateTime#subsec
Andrew White
2016-04-23
1
-0
/
+5
*
Add compatibility for Ruby 2.4 `to_time` changes
Andrew White
2016-04-23
1
-0
/
+8
*
Call super instead of returning nil for DateTime#<=>
Andrew White
2016-04-03
1
-0
/
+18
*
Adding test to verify the last week when the year is leap
Chirag Aggarwal
2016-02-20
1
-0
/
+4
*
Merge pull request #18365 from pocke/fix_datatime_compare
Aaron Patterson
2015-06-12
1
-0
/
+7
|
\
|
*
DateTime#<=> return nil when compare to the invalid String as Time.
pocke
2015-01-06
1
-0
/
+7
*
|
Removed mocha stubbing in active_support
Ronak Jangir
2015-06-07
1
-30
/
+38
|
/
*
`DateTime#to_f` now preserves fractional seconds.
John Paul Ashenfelter
2014-07-02
1
-0
/
+1
*
Extract out with_env_tz helper method.
Zuhao Wan
2014-06-18
1
-8
/
+2
*
Added partial days support to `DateTime`'s `advance` method.
Shay Davidson
2013-08-30
1
-0
/
+6
*
Merge pull request #10879 from makaroni4/master
Andrew White
2013-07-29
1
-0
/
+4
|
\
|
*
Added Time#middle_of_day
Anatoli Makarevich
2013-07-28
1
-0
/
+4
*
|
Fix handling of offsets with Time#to_s(:iso8601)
Andrew White
2013-07-29
1
-0
/
+6
*
|
Keep sub-second resolution when wrapping a DateTime value
Andrew White
2013-06-13
1
-0
/
+10
|
/
*
Squashed commit of the following:
Aaron Patterson
2013-05-03
1
-7
/
+0
*
Keep second fraction when DateTime#change is called.
Chris Baynes
2013-02-25
1
-0
/
+3
*
Added beginning_of_minute support to core_ext calculations for Time and DateTime
Gagan Awhad
2013-02-21
1
-0
/
+8
*
Test that a DateTime acts_like_date
Akira Matsuda
2013-01-23
1
-0
/
+4
*
Standardise the return value of `to_time`
Andrew White
2013-01-21
1
-5
/
+8
*
Remove assert_nothing_raised
Rafael Mendonça França
2013-01-03
1
-4
/
+2
*
Added ability to compare date/time with infinity
bUg
2013-01-04
1
-0
/
+9
*
Deprecate obsolete Time to DateTime fallback methods
Andrew White
2012-12-11
1
-1
/
+1
*
Add #seconds_until_end_of_day to DateTime and Time
Olek Janiszewski
2012-11-29
1
-0
/
+8
*
Refactored common date and time calculations.
Pan Thomakos
2012-08-04
1
-136
/
+7
*
Improve performance of DateTime#seconds_since_unix_epoch
Andrew White
2012-07-02
1
-0
/
+1
*
Add prev_quarter and next_quarter method in Time/Date/DateTime
paranoiase Kang
2012-06-20
1
-0
/
+12
*
added beginning_of_hour support to core_ext calculations for Time and DateTime
Mark J. Titorenko
2012-05-04
1
-0
/
+8
*
Merge pull request #4284 from mattdbridges/time_calculation_aliases
Xavier Noria
2012-02-28
1
-0
/
+16
|
\
|
*
Adding :last_week, :last_month, and :last_year aliases to Time and Date
Matt Bridges
2012-02-21
1
-0
/
+16
*
|
Deprecate DateTime.local_offset
brainopia
2012-01-25
1
-11
/
+2
|
/
*
use AS::TestCase as the base class
Aaron Patterson
2012-01-05
1
-1
/
+1
*
beginning_of_week extended in both Time and Date so that to return week start...
gregolsen
2011-11-25
1
-0
/
+18
[next]