aboutsummaryrefslogtreecommitdiffstats
path: root/activesupport/lib/active_support/core_ext/time/calculations.rb
Commit message (Expand)AuthorAgeFilesLines
* Merge branch 'master' into cherryJeremy Kemper2009-04-201-11/+3
|\
| * Time.local instances: Adding 24.hours across the DST boundary adds 24 hours i...Michael Curtis2009-03-291-11/+3
* | Explicit dependency on Date calculations extensionsJeremy Kemper2009-03-281-0/+1
* | Convert Time extension modules to class reopensJeremy Kemper2009-03-261-298/+281
|/
* Explicitly require AS::DurationJeremy Kemper2008-11-171-0/+2
* Time#advance recognizes fractional days and weeks [#970 state:resolved]Tom Lea2008-10-131-0/+10
* Fixed Time#end_of_quarter to not blow up on May 31st [#313 state:resolved]Carlos Brando2008-09-191-1/+1
* Introduce convenience methods past?, today? and future? for Date and Time cla...Clemens Kofler2008-09-141-10/+25
* Merge with docrails.Pratik Naik2008-07-161-1/+1
* Improve documentation coverage and markupXavier Noria2008-05-021-4/+6
* Time#since behaves correctly when passed a Duration. Closes #11527 [kemiller]gbuesing2008-04-121-5/+8
* Time #yesterday and #tomorrow behave correctly crossing DST boundary. Closes ...Geoff Buesing2008-04-041-2/+2
* Adding Time#end_of_day, _quarter, _week, and _year. Closes #9312.Jeremy Kemper2008-02-271-0/+19
* Time.=== returns true for TimeWithZone instancesGeoff Buesing2008-02-161-0/+5
* Time#- coerces TimeWithZone argument to a Time instance so that difference in...Geoff Buesing2008-01-251-0/+11
* Time.days_in_month defaults to current year if no year is supplied as argumen...Geoff Buesing2008-01-251-12/+7
* Adding Time and DateTime #compare_with_coercion, which layers behavior on #<=...Geoff Buesing2008-01-231-0/+17
* Honor Ruby's default calendar reform setting when creating DateTime objects v...Geoff Buesing2007-11-241-1/+1
* Change Time and DateTime #end_of_month to return last second of month instea...Geoff Buesing2007-11-241-1/+1
* Cater for DST changes when converting Times to DateTimes. Closes #10068 [gbu...Michael Koziarski2007-11-051-1/+1
* Time, Date and DateTime #advance accept :weeks option. Closes #9866.Jeremy Kemper2007-10-131-1/+1
* Fix Time#years_ago and #years_since from leap days. Closes #9865.Jeremy Kemper2007-10-131-2/+2
* Time and DateTime#advance accept :hours, :minutes, and :seconds options. Clos...Jeremy Kemper2007-10-131-2/+4
* Refactor Time and Date#months_since and #months_ago to use #advance. Closes #...Jeremy Kemper2007-10-131-21/+4
* Fixed spelling errors (closes #9706) [tarmo/rmm5t]David Heinemeier Hansson2007-09-281-1/+1
* Deprecation: remove deprecated :mday option from Time, Date, and DateTime#cha...Jeremy Kemper2007-09-181-5/+5
* Some 1.9 forward compatibilityJeremy Kemper2007-09-141-5/+7
* Fix Time#advance bug when trying to advance a year from leap day. Closes #86...Rick Olson2007-08-031-4/+2
* fix one line formatting bugMichael Koziarski2007-07-191-1/+1
* Added Date#change (like Time#change) [DHH]David Heinemeier Hansson2007-05-311-1/+1
* Time#since overflows to DateTime. Introduce Time#to_datetime. Closes #7715.Jeremy Kemper2007-03-051-0/+2
* Out-of-range Time calculations transparently overflow to DateTime. Closes #7706.Jeremy Kemper2007-03-041-24/+44
* Make 1.months and friends accurate by introducing a Duration class. #6835 [e...Michael Koziarski2007-01-151-0/+21
* Fix end of dayDavid Heinemeier Hansson2006-11-141-1/+1
* Added Time#end_of_day to get 23:59:59 of that day [DHH]David Heinemeier Hansson2006-11-121-0/+5
* next_week respects DST changes. Closes #5617, closes #2353, closes #2509, ref...Jeremy Kemper2006-11-021-6/+7
* next_week respects DST changes. Closes #6483.Jeremy Kemper2006-10-241-1/+3
* Replace alias method chaining with Module#alias_method_chain. [Marcel Molina ...Marcel Molina2006-04-291-2/+1
* Added Time#advance to do precise time time calculations for cases where a mon...David Heinemeier Hansson2006-03-161-0/+9
* Added Time#beginning_of_quarter (closes #3607) [cohen.jeff@gmail.com]David Heinemeier Hansson2006-02-261-0/+6
* Added Time#end_of_month to accompany Time#beginning_of_month (closes #2514) [...David Heinemeier Hansson2005-10-261-0/+8
* Fixed that Time#change should also reset usec when also resetting minutes #24...David Heinemeier Hansson2005-10-131-1/+1
* Make Time#last_month work when invoked on the 31st of a month.Jamis Buck2005-08-311-6/+14
* Add Time.days_in_month, and make Time#next_month work when invoked on the 31s...Jamis Buck2005-08-311-5/+28
* Fixed that Time#midnight would have a non-zero usec on some platforms #1836Jamis Buck2005-07-311-2/+2
* Fixed Time#at_beginning_of_week returned the next Monday instead of the previ...David Heinemeier Hansson2005-06-161-1/+2
* Fixed Time#last_year to go back in time, not forward #1278 [fabien@odilat.com]David Heinemeier Hansson2005-05-191-3/+3
* Fixed that Time.local(2005,12).months_since(1) would raise "ArgumentError: ar...David Heinemeier Hansson2005-05-191-1/+2
* Added year-based time calculationsDavid Heinemeier Hansson2005-02-241-1/+28
* Make it possible to say Time.now.in(1.year)David Heinemeier Hansson2005-02-211-1/+2