aboutsummaryrefslogtreecommitdiffstats
path: root/activesupport/test/core_ext/date_time_ext_test.rb
Commit message (Expand)AuthorAgeFilesLines
...
* 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
* Cater for DST changes when converting Times to DateTimes. Closes #10068 [gbu...Michael Koziarski2007-11-051-1/+19
* Time, Date and DateTime #advance accept :weeks option. Closes #9866.Jeremy Kemper2007-10-131-1/+4
* Time and DateTime#advance accept :hours, :minutes, and :seconds options. Clos...Jeremy Kemper2007-10-131-1/+9
* Fix Date#years_ago and #years_since from leap days. Closes #9864.Jeremy Kemper2007-10-131-0/+2
* Refactor Time and Date#months_since and #months_ago to use #advance. Closes #...Jeremy Kemper2007-10-131-0/+4
* Some platforms include colon in timezone offset, some don't. References #9744.Jeremy Kemper2007-10-031-3/+3
* Fixed Date#xmlschema for dates outside the range of what can be created with ...David Heinemeier Hansson2007-10-011-2/+7
* Fixed spelling errors (closes #9706) [tarmo/rmm5t]David Heinemeier Hansson2007-09-281-1/+1
* Date/Time/DateTime Ruby 1.9 compatJeremy Kemper2007-09-271-0/+1
* Fix Time#advance bug when trying to advance a year from leap day. Closes #86...Rick Olson2007-08-031-0/+1
* Oh please. References #8646.Jeremy Kemper2007-06-141-1/+1
* Maybe passing an explicit offset mollifies CIA. References #8646.Jeremy Kemper2007-06-141-1/+1
* Improve Time and Date test coverage. Closes #8646.Jeremy Kemper2007-06-141-4/+19
* Readable Date and DateTime#inspect. Closes #8570.Jeremy Kemper2007-06-041-0/+6
* DateTime#to_time converts to Time unless out of range. Date#to_datetime and D...Jeremy Kemper2007-05-301-0/+6
* Time durations use since instead of + for accuracy. Closes #8513.Jeremy Kemper2007-05-301-0/+2
* DateTime uses Time formats. Closes #8476.Jeremy Kemper2007-05-261-0/+6