Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Remove extra white spaces on ActiveSupport docs. | Sebastian Martinez | 2011-05-23 | 1 | -1/+1 |
| | |||||
* | Merge pull request #227 from farski/master | Santiago Pastorino | 2011-05-11 | 1 | -3/+3 |
|\ | | | | | Unnecessary redundancy in Time/Date calculations | ||||
| * | Removed some redundant Time#change time options from beginning_of_ methods ↵ | Chris Kalafarski | 2011-03-13 | 1 | -3/+3 |
| | | | | | | | | in Date and Time | ||||
* | | Better use #remove_possible_method here | Sebastian Martinez | 2011-05-08 | 1 | -2/+3 |
|/ | |||||
* | updated Time, Date and DateTime current methods in AS to use Time.zone and ↵ | Josh Kalderimis | 2011-02-28 | 2 | -5/+5 |
| | | | | | | not Time.zone_default. [#6410 state:committed] | ||||
* | Add Date#rfc3339 and Date#iso8601 to AS | Santiago Pastorino | 2011-02-13 | 1 | -0/+6 |
| | |||||
* | In AS, only inflector/methods is need in proxy_wrappers.rb, as well as date, ↵ | Josh Kalderimis | 2011-01-12 | 1 | -1/+1 |
| | | | | | | date_time, and time conversions.rb. This fixes an issue when requiring json and AS saying that i18n is also required. Signed-off-by: Santiago Pastorino <santiago@wyeworks.com> | ||||
* | implements weeks_ago and prev_week for Date/DateTime/Time [#5122 ↵ | Rob Zolkos & Xavier Noria | 2010-10-16 | 1 | -2/+14 |
| | | | | state:committed] | ||||
* | Deletes trailing whitespaces (over text files only find * -type f -exec sed ↵ | Santiago Pastorino | 2010-08-14 | 1 | -2/+2 |
| | | | | 's/[ \t]*$//' -i {} \;) | ||||
* | itsy bitsy changes to documentation | Neeraj Singh | 2010-07-28 | 1 | -13/+13 |
| | |||||
* | Move Date#xmlschema to conversions and add a missing require | Santiago Pastorino | 2010-07-04 | 2 | -9/+10 |
| | |||||
* | Refactor move some date, time and date_time methods to */zones and fixed ↵ | Santiago Pastorino | 2010-07-03 | 3 | -19/+23 |
| | | | | some requires | ||||
* | Date#since, #ago, #beginning_of_day, #end_of_day, #xmlschema return ↵ | Geoff Buesing | 2010-06-12 | 2 | -5/+15 |
| | | | | | | TimeWithZone when Time.zone_default is set Signed-off-by: Xavier Noria <fxn@hashref.com> | ||||
* | 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 | -5/+16 |
| | | | | deprecates last_(month|year) | ||||
* | aliases Date#sunday to Date#end_of_week, for symmetry with existing alias ↵ | Xavier Noria | 2010-05-09 | 1 | -0/+1 |
| | | | | Date#monday -> Date#beginning_of_week | ||||
* | Backports Date#>> from 1.9 so that calculations do the right thing around ↵ | Xavier Noria | 2010-05-09 | 1 | -0/+18 |
| | | | | | | | | | | the calendar reform Our next_month gives November for some late dates in September of 1582. Related methods, last_*, and in general advance have the same issues. This commit fixes those, see the test suite for expected behavior, which we still run in 1.9 to ensure it matches as we do with other methods defined in Date in 1.9. | ||||
* | date/conversions needs time/calculations for (utc|local)_time | Xavier Noria | 2010-05-03 | 1 | -0/+1 |
| | |||||
* | let Date.yesterday and Date.tomorrow be based on Date.current rather than ↵ | Xavier Noria | 2010-05-02 | 1 | -2/+2 |
| | | | | Date.today | ||||
* | date/calculations.rb needs active_support/core_ext/object/acts_like because ↵ | Xavier Noria | 2010-01-01 | 1 | -0/+1 |
| | | | | it uses acts_like? | ||||
* | Fixes Dependency bug in ActiveSupport | Yehuda Katz | 2009-12-20 | 2 | -0/+2 |
| | |||||
* | Repair time dependencies | Jeremy Kemper | 2009-11-14 | 1 | -3/+0 |
| | |||||
* | Clarify date/time dependencies | Jeremy Kemper | 2009-11-02 | 2 | -0/+2 |
| | |||||
* | Duplicating the options hash in Date#advance to prevent modification of the ↵ | Jay Pignata | 2009-08-31 | 1 | -0/+1 |
| | | | | | | original [#1133 state:resolved] Signed-off-by: Joshua Peek <josh@joshpeek.com> | ||||
* | Check for date/time methods that moved upstream in 1.9 | Jeremy Kemper | 2009-05-07 | 1 | -2/+2 |
| | |||||
* | Fix dependencies revealed by testing in isolation | Jeremy Kemper | 2009-04-22 | 2 | -0/+4 |
| | |||||
* | Convert Date calculations and conversions extension modules to class reopens | Jeremy Kemper | 2009-03-28 | 2 | -323/+298 |
| | |||||
* | Tease out Object#acts_like? behaviors | Jeremy Kemper | 2009-03-28 | 1 | -3/+2 |
| | |||||
* | Convert date extension modules to class reopens | Jeremy Kemper | 2009-03-21 | 3 | -42/+40 |
| | |||||
* | Merge docrails | Pratik Naik | 2009-03-16 | 1 | -1/+1 |
| | |||||
* | Merge docrails | Pratik Naik | 2009-01-18 | 1 | -3/+3 |
| | |||||
* | Introduce convenience methods past?, today? and future? for Date and Time ↵ | Clemens Kofler | 2008-09-14 | 1 | -9/+24 |
| | | | | classes to facilitate Date/Time comparisons. | ||||
* | Date#freeze bug doesn't affect Ruby 1.9 | Jeremy Kemper | 2008-08-28 | 1 | -7/+11 |
| | |||||
* | Date#freeze bug doesn't affect Ruby 1.9 | Jeremy Kemper | 2008-08-28 | 1 | -8/+17 |
| | |||||
* | Work around frozen Date memoization | Jeremy Kemper | 2008-08-25 | 1 | -0/+16 |
| | |||||
* | Fixed Date#end_of_quarter to not blow up on May 31st [#289 state:resolved] ↵ | David Heinemeier Hansson | 2008-06-02 | 1 | -1/+1 |
| | | | | (Danger) | ||||
* | Adding Date.current, which returns Time.zone.today if config.time_zone is ↵ | gbuesing | 2008-05-08 | 1 | -0/+5 |
| | | | | set; otherwise returns Date.today. ActionView date_helper uses Date.current to determine locale-appropriate default | ||||
* | Improve documentation coverage and markup | Xavier Noria | 2008-05-02 | 1 | -1/+1 |
| | | | | Signed-off-by: Pratik Naik <pratiknaik@gmail.com> | ||||
* | Improve documentation. | Pratik Naik | 2008-04-05 | 1 | -2/+2 |
| | | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@9226 5ecf4fe2-1ee6-0310-87b1-e25e094e27de | ||||
* | Improve documentation. | Pratik Naik | 2008-03-26 | 1 | -0/+2 |
| | | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@9093 5ecf4fe2-1ee6-0310-87b1-e25e094e27de | ||||
* | Adding Time#end_of_day, _quarter, _week, and _year. Closes #9312. | Jeremy Kemper | 2008-02-27 | 1 | -0/+20 |
| | | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8934 5ecf4fe2-1ee6-0310-87b1-e25e094e27de | ||||
* | Simplify to_formatted_s docs. Closes #10747 [Jeremy Kemper] | Jeremy Kemper | 2008-01-09 | 1 | -24/+12 |
| | | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8608 5ecf4fe2-1ee6-0310-87b1-e25e094e27de | ||||
* | Document date and time to_formatted_s. Closes #10747 [leethal] | Jeremy Kemper | 2008-01-09 | 1 | -1/+21 |
| | | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8606 5ecf4fe2-1ee6-0310-87b1-e25e094e27de | ||||
* | Moved the caching stores from ActionController::Caching::Fragments::* to ↵ | David Heinemeier Hansson | 2008-01-03 | 1 | -0/+1 |
| | | | | | | ActiveSupport::Cache::*. If you're explicitly referring to a store, like ActionController::Caching::Fragments::MemoryStore, you need to update that reference with ActiveSupport::Cache::MemoryStore [DHH] Deprecated ActionController::Base.fragment_cache_store for ActionController::Base.cache_store [DHH] All fragment cache keys are now by default prefixed with the 'views/' namespace [DHH] Added ActiveRecord::Base.cache_key to make it easier to cache Active Records in combination with the new ActiveSupport::Cache::* libraries [DHH] Added ActiveSupport::Gzip.decompress/compress(source) as an easy wrapper for Zlib [Tobias Luetke] Included MemCache-Client to make the improved ActiveSupport::Cache::MemCacheStore work out of the box [Bob Cottrell, Eric Hodel] Added config.cache_store to environment options to control the default cache store (default is FileStore if tmp/cache is present, otherwise MemoryStore is used) [DHH] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8546 5ecf4fe2-1ee6-0310-87b1-e25e094e27de | ||||
* | Ruby 1.9 compat: normalize date and time xmlschema to match Ruby's ↵ | Jeremy Kemper | 2007-12-15 | 1 | -0/+3 |
| | | | | | | formatting [chuyeow] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8398 5ecf4fe2-1ee6-0310-87b1-e25e094e27de | ||||
* | Document Date conversions. Closes #10368 [chuyeow] | Michael Koziarski | 2007-12-05 | 1 | -4/+34 |
| | | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8279 5ecf4fe2-1ee6-0310-87b1-e25e094e27de | ||||
* | Honor Ruby's default calendar reform setting when creating DateTime objects ↵ | Geoff Buesing | 2007-11-24 | 1 | -1/+1 |
| | | | | | | via ActiveRecord's Time -> DateTime overflow, Time#time_with_datetime_fallback, Time#to_datetime, Date#to_datetime and String#to_datetime. Closes #10201 git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8199 5ecf4fe2-1ee6-0310-87b1-e25e094e27de | ||||
* | Change Time and DateTime #end_of_month to return last second of month ↵ | Geoff Buesing | 2007-11-24 | 1 | -1/+1 |
| | | | | | | instead of beginning of last day of month. Closes #10200 git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8198 5ecf4fe2-1ee6-0310-87b1-e25e094e27de | ||||
* | Time, Date and DateTime #advance accept :weeks option. Closes #9866. | Jeremy Kemper | 2007-10-13 | 1 | -1/+2 |
| | | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@7868 5ecf4fe2-1ee6-0310-87b1-e25e094e27de | ||||
* | Fix Date#years_ago and #years_since from leap days. Closes #9864. | Jeremy Kemper | 2007-10-13 | 1 | -2/+2 |
| | | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@7863 5ecf4fe2-1ee6-0310-87b1-e25e094e27de |