Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Deletes trailing whitespaces (over text files only find * -type f -exec sed ↵ | Santiago Pastorino | 2010-08-14 | 3 | -6/+6 |
| | | | | 's/[ \t]*$//' -i {} \;) | ||||
* | Refactor move some date, time and date_time methods to */zones and fixed ↵ | Santiago Pastorino | 2010-07-03 | 2 | -5/+5 |
| | | | | some requires | ||||
* | when the timezone is nil, a TimeWithZone object should not be constructed. ↵ | Aaron Patterson | 2010-06-17 | 1 | -0/+2 |
| | | | | | | [#4881 state:resolved] Signed-off-by: Jeremy Kemper <jeremy@bitsweat.net> | ||||
* | removes deprecations of last_(month|year) from master, they will be ↵ | Xavier Noria | 2010-05-19 | 1 | -11/+0 |
| | | | | deprecated in 2.3 instead | ||||
* | defines prev_(month|year) in Date and Time to ease transition to 1.9, and ↵ | Xavier Noria | 2010-05-12 | 1 | -2/+12 |
| | | | | deprecates last_(month|year) | ||||
* | let Time.time_with_datetime_fallback handle properly years in the range 0..138 | Xavier Noria | 2010-05-05 | 1 | -3/+5 |
| | |||||
* | Ruby 1.9.2: marshaling round-trips Time#zone | Jeremy Kemper | 2010-03-28 | 2 | -26/+56 |
| | |||||
* | Actually check the value of the ivar | wycats | 2010-03-27 | 1 | -4/+2 |
| | |||||
* | Remove stray instance variable to resolve serialization problem [#3769 ↵ | wycats | 2010-03-27 | 1 | -3/+9 |
| | | | | state:resolved] (ht: Joe Rafaniello) | ||||
* | avoid active_support/core_ext/time/conversions.rb warnings | Santiago Pastorino | 2010-03-21 | 1 | -0/+1 |
| | | | | | | [#4250 state:committed] Signed-off-by: Jeremy Kemper <jeremy@bitsweat.net> | ||||
* | Time#- with a DateTime argument behaves the same as with a Time argument, ↵ | Geoff Buesing | 2010-01-27 | 1 | -1/+1 |
| | | | | i.e. returns the difference between self and arg as a Float [#3476 status:resolved] | ||||
* | Missing acts_like dependency | Yehuda Katz | 2009-12-20 | 1 | -0/+1 |
| | |||||
* | Ruby 1.9: fix Time#beginning_of_day inaccuracy due to subtracting a Float | Jeremy Kemper | 2009-08-22 | 1 | -1/+2 |
| | |||||
* | Setting usec (and nsec for Ruby 1.9) on Time#end_of_* methods [#1255 ↵ | Hugo Peixoto | 2009-08-09 | 1 | -8/+8 |
| | | | | | | status:resolved] Signed-off-by: José Valim <jose.valim@gmail.com> | ||||
* | Merge docrails | Pratik Naik | 2009-07-25 | 1 | -1/+1 |
| | |||||
* | Check for date/time methods that moved upstream in 1.9 | Jeremy Kemper | 2009-05-07 | 1 | -1/+1 |
| | |||||
* | Prefer behavior check to RUBY_VERSION to catch 1.8 backports | Jeremy Kemper | 2009-04-29 | 1 | -2/+2 |
| | |||||
* | Merge branch 'master' into cherry | Jeremy Kemper | 2009-04-20 | 1 | -11/+3 |
|\ | | | | | | | | | | | | | | | | | | | | | Conflicts: activesupport/CHANGELOG activesupport/lib/active_support/core_ext/class/delegating_attributes.rb activesupport/lib/active_support/core_ext/hash/conversions.rb activesupport/lib/active_support/core_ext/module/attribute_accessors.rb activesupport/lib/active_support/core_ext/string/multibyte.rb activesupport/lib/active_support/core_ext/time/calculations.rb activesupport/lib/active_support/deprecation.rb | ||||
| * | Time.local instances: Adding 24.hours across the DST boundary adds 24 hours ↵ | Michael Curtis | 2009-03-29 | 1 | -11/+3 |
| | | | | | | | | instead of one day [#2066 state:resolved] | ||||
* | | JRuby doesn't have UnboundMethod#name | Jeremy Kemper | 2009-03-29 | 1 | -1/+1 |
| | | |||||
* | | Convert Time conversions extension module to class reopen | Jeremy Kemper | 2009-03-28 | 2 | -83/+79 |
| | | |||||
* | | Explicit dependency on Date calculations extensions | Jeremy Kemper | 2009-03-28 | 1 | -0/+1 |
| | | |||||
* | | Tease out Object#acts_like? behaviors | Jeremy Kemper | 2009-03-28 | 2 | -13/+8 |
| | | |||||
* | | Convert Time extension modules to class reopens | Jeremy Kemper | 2009-03-26 | 2 | -379/+352 |
| | | |||||
* | | Extract time fixes into separate extensions | Jeremy Kemper | 2009-03-24 | 2 | -0/+32 |
| | | |||||
* | | Move Numeric#to_utc_offset_s to TimeZone.seconds_to_utc_offset | Jeremy Kemper | 2009-03-23 | 1 | -1/+1 |
|/ | |||||
* | Time#to_s(:rfc822) uses #formatted_offset instead of unreliable and ↵ | Zachary Zolton | 2009-02-09 | 1 | -1/+1 |
| | | | | non-standard %z directive [#1899 state:resolved] | ||||
* | Explicitly require AS::Duration | Jeremy Kemper | 2008-11-17 | 1 | -0/+2 |
| | |||||
* | Time#advance recognizes fractional days and weeks [#970 state:resolved] | Tom Lea | 2008-10-13 | 1 | -0/+10 |
| | |||||
* | Fixed Time#end_of_quarter to not blow up on May 31st [#313 state:resolved] | Carlos Brando | 2008-09-19 | 1 | -1/+1 |
| | | | | Signed-off-by: Joshua Peek <josh@joshpeek.com> | ||||
* | Introduce convenience methods past?, today? and future? for Date and Time ↵ | Clemens Kofler | 2008-09-14 | 1 | -10/+25 |
| | | | | classes to facilitate Date/Time comparisons. | ||||
* | Get rid of 'Object#send!'. It was originally added because it's in Ruby 1.9, ↵ | Jeremy Kemper | 2008-08-31 | 1 | -1/+1 |
| | | | | | | | | | | but it has since been removed from 1.9. Signed-off-by: Jeremy Kemper <jeremy@bitsweat.net> Conflicts: actionpack/test/controller/layout_test.rb | ||||
* | Merge docrails changes | Pratik Naik | 2008-07-28 | 1 | -0/+1 |
| | |||||
* | Merge with docrails. | Pratik Naik | 2008-07-16 | 1 | -1/+1 |
| | |||||
* | Merge docrails. | Pratik Naik | 2008-05-25 | 2 | -13/+13 |
| | | | | Signed-off-by: Pratik Naik <pratiknaik@gmail.com> | ||||
* | Adding documentation for time zone features | gbuesing | 2008-05-18 | 1 | -8/+19 |
| | |||||
* | Improve documentation coverage and markup | Xavier Noria | 2008-05-02 | 1 | -4/+6 |
| | | | | Signed-off-by: Pratik Naik <pratiknaik@gmail.com> | ||||
* | Duration #since and #ago with no argument (e.g., 5.days.ago) return ↵ | gbuesing | 2008-04-20 | 1 | -0/+5 |
| | | | | TimeWithZone when config.time_zone is set. Introducing Time.current, which returns Time.zone.now if config.time_zone is set, otherwise just returns Time.now | ||||
* | Time#since behaves correctly when passed a Duration. Closes #11527 [kemiller] | gbuesing | 2008-04-12 | 1 | -5/+8 |
| | |||||
* | Improve documentation. | Pratik Naik | 2008-04-05 | 2 | -30/+14 |
| | | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@9226 5ecf4fe2-1ee6-0310-87b1-e25e094e27de | ||||
* | Time #yesterday and #tomorrow behave correctly crossing DST boundary. Closes ↵ | Geoff Buesing | 2008-04-04 | 1 | -2/+2 |
| | | | | | | #7399 [sblackstone] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@9221 5ecf4fe2-1ee6-0310-87b1-e25e094e27de | ||||
* | Time.zone= accepts TZInfo::Timezone instances and Olson identifiers; wraps ↵ | Geoff Buesing | 2008-03-28 | 1 | -2/+9 |
| | | | | | | result in TimeZone instance git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@9107 5ecf4fe2-1ee6-0310-87b1-e25e094e27de | ||||
* | Improve documentation. | Pratik Naik | 2008-03-26 | 1 | -5/+5 |
| | | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@9093 5ecf4fe2-1ee6-0310-87b1-e25e094e27de | ||||
* | Time, DateTime and TimeWithZone #in_time_zone defaults to Time.zone. ↵ | Geoff Buesing | 2008-03-17 | 1 | -19/+16 |
| | | | | | | Removing now unneeded #in_current_time_zone. ActiveRecord time zone aware attributes updated to use #in_time_zone git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@9047 5ecf4fe2-1ee6-0310-87b1-e25e094e27de | ||||
* | Removing unneeded #change_time_zone method from Time, DateTime and TimeWithZone | Geoff Buesing | 2008-03-11 | 1 | -13/+0 |
| | | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@9008 5ecf4fe2-1ee6-0310-87b1-e25e094e27de | ||||
* | Adding Time#end_of_day, _quarter, _week, and _year. Closes #9312. | Jeremy Kemper | 2008-02-27 | 1 | -0/+19 |
| | | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8934 5ecf4fe2-1ee6-0310-87b1-e25e094e27de | ||||
* | Time.=== returns true for TimeWithZone instances | Geoff Buesing | 2008-02-16 | 1 | -0/+5 |
| | | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8885 5ecf4fe2-1ee6-0310-87b1-e25e094e27de | ||||
* | Time#zone=, #in_time_zone and #change_time_zone accept a Duration | Geoff Buesing | 2008-02-10 | 1 | -1/+2 |
| | | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8850 5ecf4fe2-1ee6-0310-87b1-e25e094e27de | ||||
* | Time#in_time_zone handles Time.local instances correctly | Geoff Buesing | 2008-02-10 | 1 | -4/+2 |
| | | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8849 5ecf4fe2-1ee6-0310-87b1-e25e094e27de | ||||
* | Pruning unneeded Time#change_time_zone_to_current. Enhanced docs for ↵ | Geoff Buesing | 2008-02-10 | 1 | -7/+6 |
| | | | | | | #change_time_zone git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8848 5ecf4fe2-1ee6-0310-87b1-e25e094e27de |