aboutsummaryrefslogtreecommitdiffstats
path: root/activesupport/test/core_ext/time_ext_test.rb
Commit message (Expand)AuthorAgeFilesLines
* reverted tests deleted by 080345baca1076a9788d, refactored implementations sh...Diego Carrion2011-03-041-3/+13
* Ruby 1.8.7+ provides to_date/to_datetime, AS just makes them public.John Firebaugh2011-02-031-13/+3
* implements weeks_ago and prev_week for Date/DateTime/Time [#5122 state:commit...Rob Zolkos & Xavier Noria2010-10-161-0/+18
* Deletes trailing whitespaces (over text files only find * -type f -exec sed '...Santiago Pastorino2010-08-141-10/+10
* removes deprecations of last_(month|year) from master, they will be deprecate...Xavier Noria2010-05-191-8/+0
* defines prev_(month|year) in Date and Time to ease transition to 1.9, and dep...Xavier Noria2010-05-121-5/+13
* let Time.time_with_datetime_fallback handle properly years in the range 0..138Xavier Noria2010-05-051-0/+7
* Ruby 1.9.2: marshaling round-trips Time#zoneJeremy Kemper2010-03-281-12/+8
* Time zone tests were right all along.José Valim2010-03-281-4/+4
* Ruby's marshaling of Time instances doesn't respect the zone [#4282 state:res...Santiago Pastorino2010-03-271-2/+2
* Time#- with a DateTime argument behaves the same as with a Time argument, i.e...Geoff Buesing2010-01-271-0/+4
* Setting usec (and nsec for Ruby 1.9) on Time#end_of_* methods [#1255 status:r...Hugo Peixoto2009-08-091-23/+23
* Remove 'core' fluff. Hookable ActiveSupport.load_all!Jeremy Kemper2009-05-201-1/+1
* Work around Float faux precisionJeremy Kemper2009-04-301-4/+4
* Fix dependencies revealed by testing in isolationJeremy Kemper2009-04-221-0/+1
* Test cleanupGeoff Buesing2009-04-051-3/+3
* Enhance Time #since and #ago DST tests.Geoff Buesing2009-03-291-16/+57
* Time.local instances: Adding 24.hours across the DST boundary adds 24 hours i...Michael Curtis2009-03-291-16/+16
* Time#to_s(:rfc822) uses #formatted_offset instead of unreliable and non-stand...Zachary Zolton2009-02-091-0/+4
* Require mocha >= 0.9.0 for AS testsJeremy Kemper2008-11-221-74/+70
* Fix indentation mismatchJeremy Kemper2008-11-071-1/+1
* Enhance testing for fractional days and weeks. Update changelog.gbuesing2008-10-131-0/+8
* Fixed Time#end_of_quarter to not blow up on May 31st [#313 state:resolved]Carlos Brando2008-09-191-0/+1
* Add thorough tests for Time-object #past?, #future? and #today. Fix TimeWithZ...gbuesing2008-09-141-10/+65
* Introduce convenience methods past?, today? and future? for Date and Time cla...Clemens Kofler2008-09-141-6/+19
* Don't run 32bit dependant assertions in 64bit environmentsTarmo Tänav2008-09-041-4/+10
* Fix Ruby's Time marshaling bug in pre-1.9 versions of Ruby: utc instances are...Luca Guidi2008-08-271-0/+34
* If it doesn't overflow, it won't have a .start method. So don't run the seco...Michael Koziarski2008-07-201-1/+1
* Handle the case where 64bit time_t won't overflow.Michael Koziarski2008-07-201-1/+6
* Namespace Inflector, Dependencies, OrderedOptions, and TimeZone under ActiveS...Joshua Peek2008-06-031-14/+14
* Time#since behaves correctly when passed a Duration. Closes #11527 [kemiller]gbuesing2008-04-121-2/+53
* Time #yesterday and #tomorrow behave correctly crossing DST boundary. Closes ...Geoff Buesing2008-04-041-0/+52
* test_time_with_datetime_fallback expects DateTime.local_offset instead of Dat...Geoff Buesing2008-03-101-2/+2
* Adding Time#end_of_day, _quarter, _week, and _year. Closes #9312.Jeremy Kemper2008-02-271-0/+35
* Time.=== returns true for TimeWithZone instancesGeoff Buesing2008-02-161-0/+6
* Add Time Zone support to ActiveRecord, and config.time_zone property for spec...Rick Olson2008-02-061-0/+9
* with_timezone test helper renamed with_env_tz, to distinguish between setting...Geoff Buesing2008-01-261-24/+24
* Time#- coerces TimeWithZone argument to a Time instance so that difference in...Geoff Buesing2008-01-251-0/+4
* Adding UTC zone to TimeZone; TimeWithZone no longer has to fake UTC zone with...Geoff Buesing2008-01-251-3/+3
* Time.days_in_month defaults to current year if no year is supplied as argumen...Geoff Buesing2008-01-251-1/+13
* 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/+15
* require abstract_unit directly since test is in load pathJeremy Kemper2008-01-051-1/+1
* Fix invalid time test. Closes #10632 [Dirkjan Bussink]Jeremy Kemper2008-01-021-1/+1
* Honor Ruby's default calendar reform setting when creating DateTime objects v...Geoff Buesing2007-11-241-0/+2
* 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-3/+5
* Time, Date and DateTime #advance accept :weeks option. Closes #9866.Jeremy Kemper2007-10-131-2/+8
* Fix Time#years_ago and #years_since from leap days. Closes #9865.Jeremy Kemper2007-10-131-0/+2
* Time and DateTime#advance accept :hours, :minutes, and :seconds options. Clos...Jeremy Kemper2007-10-131-2/+16