aboutsummaryrefslogtreecommitdiffstats
path: root/activesupport/test/core_ext/time_ext_test.rb
Commit message (Expand)AuthorAgeFilesLines
* 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
* Refactor Time and Date#months_since and #months_ago to use #advance. Closes #...Jeremy Kemper2007-10-131-0/+4
* Fixed spelling errors (closes #9706) [tarmo/rmm5t]David Heinemeier Hansson2007-09-281-1/+1
* Date/Time/DateTime Ruby 1.9 compatJeremy Kemper2007-09-271-3/+4
* Fix tests across DST (closes #9020) [mpalmer]David Heinemeier Hansson2007-09-221-5/+7
* Fix Time#advance bug when trying to advance a year from leap day. Closes #86...Rick Olson2007-08-031-0/+2
* Improve Time and Date test coverage. Closes #8646.Jeremy Kemper2007-06-141-17/+23
* DateTime uses Time formats. Closes #8476.Jeremy Kemper2007-05-261-0/+6
* Date, Time, and DateTime support formatting blocks in addition to strftime st...Jeremy Kemper2007-05-251-4/+5
* Fix to_datetime test broken by DST change. Closes #7797.Jeremy Kemper2007-03-121-2/+2
* Time#since overflows to DateTime. Introduce Time#to_datetime. Closes #7715.Jeremy Kemper2007-03-051-0/+12
* Out-of-range Time calculations transparently overflow to DateTime. Closes #7706.Jeremy Kemper2007-03-041-0/+25
* Added Time#to_s(:time) which will just return H:M, like 17:44 [DHH]David Heinemeier Hansson2006-11-251-0/+1
* Test multiple timezones' DST. Closes #5617.Jeremy Kemper2006-11-031-17/+73
* Use US timezone for DST tests. Closes #5617.Jeremy Kemper2006-11-021-23/+43
* next_week respects DST changes. Closes #5617, closes #2353, closes #2509, ref...Jeremy Kemper2006-11-021-0/+50
* next_week respects DST changes. Closes #6483.Jeremy Kemper2006-10-241-0/+2
* r4487@asus: jeremy | 2006-04-29 12:21:39 -0700Jeremy Kemper2006-07-081-24/+22
* Added Time#advance to do precise time time calculations for cases where a mon...David Heinemeier Hansson2006-03-161-0/+14
* Time#xmlschema is only available when you've required 'time'. Add a unit tes...Michael Koziarski2006-03-151-0/+4
* Added Time#beginning_of_quarter (closes #3607) [cohen.jeff@gmail.com]David Heinemeier Hansson2006-02-261-0/+7
* Added Time#end_of_month to accompany Time#beginning_of_month (closes #2514) [...David Heinemeier Hansson2005-10-261-0/+7
* Fixed that Time#change should also reset usec when also resetting minutes #24...David Heinemeier Hansson2005-10-131-0/+5
* Add :rfc822 as an option for Time#to_s (to get rfc822-formatted times)Jamis Buck2005-10-031-3/+7
* Make Time#last_month work when invoked on the 31st of a month.Jamis Buck2005-08-311-0/+4
* Add Time.days_in_month, and make Time#next_month work when invoked on the 31s...Jamis Buck2005-08-311-0/+24
* Fixed that Time#midnight would have a non-zero usec on some platforms #1836Jamis Buck2005-07-311-1/+8
* Fixed Time#at_beginning_of_week returned the next Monday instead of the previ...David Heinemeier Hansson2005-06-161-0/+7
* Fixed Time#last_year to go back in time, not forward #1278 [fabien@odilat.com]David Heinemeier Hansson2005-05-191-0/+4
* Fixed that Time.local(2005,12).months_since(1) would raise "ArgumentError: ar...David Heinemeier Hansson2005-05-191-0/+2