aboutsummaryrefslogtreecommitdiffstats
path: root/activesupport/test/core_ext/date_time_ext_test.rb
Commit message (Expand)AuthorAgeFilesLines
* Merge pull request #10879 from makaroni4/masterAndrew White2013-07-291-0/+4
|\
| * Added Time#middle_of_dayAnatoli Makarevich2013-07-281-0/+4
* | Fix handling of offsets with Time#to_s(:iso8601)Andrew White2013-07-291-0/+6
* | Keep sub-second resolution when wrapping a DateTime valueAndrew White2013-06-131-0/+10
|/
* Squashed commit of the following:Aaron Patterson2013-05-031-7/+0
* Keep second fraction when DateTime#change is called.Chris Baynes2013-02-251-0/+3
* Added beginning_of_minute support to core_ext calculations for Time and DateTimeGagan Awhad2013-02-211-0/+8
* Test that a DateTime acts_like_dateAkira Matsuda2013-01-231-0/+4
* Standardise the return value of `to_time`Andrew White2013-01-211-5/+8
* Remove assert_nothing_raisedRafael Mendonça França2013-01-031-4/+2
* Added ability to compare date/time with infinitybUg2013-01-041-0/+9
* Deprecate obsolete Time to DateTime fallback methodsAndrew White2012-12-111-1/+1
* Add #seconds_until_end_of_day to DateTime and TimeOlek Janiszewski2012-11-291-0/+8
* Refactored common date and time calculations.Pan Thomakos2012-08-041-136/+7
* Improve performance of DateTime#seconds_since_unix_epochAndrew White2012-07-021-0/+1
* Add prev_quarter and next_quarter method in Time/Date/DateTimeparanoiase Kang2012-06-201-0/+12
* added beginning_of_hour support to core_ext calculations for Time and DateTimeMark J. Titorenko2012-05-041-0/+8
* Merge pull request #4284 from mattdbridges/time_calculation_aliasesXavier Noria2012-02-281-0/+16
|\
| * Adding :last_week, :last_month, and :last_year aliases to Time and DateMatt Bridges2012-02-211-0/+16
* | Deprecate DateTime.local_offsetbrainopia2012-01-251-11/+2
|/
* use AS::TestCase as the base classAaron Patterson2012-01-051-1/+1
* beginning_of_week extended in both Time and Date so that to return week start...gregolsen2011-11-251-0/+18
* Removed argument throwing warnings when running tests.Henrik Hodne2011-11-061-3/+3
* updated Time, Date and DateTime current methods in AS to use Time.zone and no...Josh Kalderimis2011-02-281-4/+4
* Preserve fractional seconds in DateTime#to_timeJohn Firebaugh2011-02-031-0/+2
* implements weeks_ago and prev_week for Date/DateTime/Time [#5122 state:commit...Rob Zolkos & Xavier Noria2010-10-161-0/+16
* Deletes trailing whitespaces (over text files only find * -type f -exec sed '...Santiago Pastorino2010-08-141-1/+1
* adds test coverage to ensure DateTime#advance processes first the date deltas...Xavier Noria2010-08-051-12/+19
* fix conditions when DateTime#to_date and DateTime#xmlschema methods are definedRaimonds Simanovskis2010-06-041-2/+2
* Final iteration of use better testing methodsNeeraj Singh2010-05-191-2/+2
* defines prev_(month|year) in Date and Time to ease transition to 1.9, and dep...Xavier Noria2010-05-121-4/+4
* let Time.time_with_datetime_fallback handle properly years in the range 0..138Xavier Noria2010-05-051-0/+5
* Added #to_i to DateTime in ActiveSupport so #to_yaml works correctly on Activ...Serguei Filimonov2009-12-151-0/+4
* Consolidate date & time landscape: require 'active_support/time'Jeremy Kemper2009-11-141-1/+1
* Fix dependencies revealed by testing in isolationJeremy Kemper2009-04-221-0/+1
* Require mocha >= 0.9.0 for AS testsJeremy Kemper2008-11-221-58/+54
* Add thorough tests for Time-object #past?, #future? and #today. Fix TimeWithZ...gbuesing2008-09-141-10/+62
* Introduce convenience methods past?, today? and future? for Date and Time cla...Clemens Kofler2008-09-141-0/+23
* Namespace Inflector, Dependencies, OrderedOptions, and TimeZone under ActiveS...Joshua Peek2008-06-031-12/+12
* Add #getutc alias for DateTime#utcgbuesing2008-04-121-0/+1
* Play nice with 1.9's DateTime#to_sJeremy Kemper2008-03-291-1/+1
* Adding TimeZone#at and DateTime#to_fGeoff Buesing2008-03-171-0/+5
* with_timezone test helper renamed with_env_tz, to distinguish between setting...Geoff Buesing2008-01-261-3/+3
* Adding UTC zone to TimeZone; TimeWithZone no longer has to fake UTC zone with...Geoff Buesing2008-01-251-3/+3
* Adding Time and DateTime #compare_with_coercion, which layers behavior on #<=...Geoff Buesing2008-01-231-0/+18
* Adding Time and DateTime #formatted_offset, for outputting +HH:MM utc offset ...Geoff Buesing2008-01-231-0/+12
* Introducing DateTime #utc, #utc? and #utc_offset, for duck-typing compatibili...Geoff Buesing2008-01-161-0/+22
* require abstract_unit directly since test is in load pathJeremy Kemper2008-01-051-1/+1
* Ruby 1.9 compat: normalize date and time xmlschema to match Ruby's formatting...Jeremy Kemper2007-12-151-4/+3
* Change Time and DateTime #end_of_month to return last second of month instea...Geoff Buesing2007-11-241-4/+3