Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Deprecate DateTime.local_offset | brainopia | 2012-01-25 | 1 | -1/+11 |
| | |||||
* | remove ruby 1.8 related code | Vasiliy Ermolovich | 2012-01-18 | 1 | -15/+0 |
| | |||||
* | remove condition since to_time always available in ruby19 DateTime | Vishnu Atrai | 2011-12-31 | 1 | -1/+1 |
| | |||||
* | Initial pass at removing dead 1.8.x code from Active Support. | José Valim | 2011-12-20 | 1 | -1/+1 |
| | | | | | | There are a bunch of other implicit branches that adds 1.8.x specific code that still needs to be removed. Pull requests for those cases are welcome. | ||||
* | Fix punctuation errors. | Sebastian Martinez | 2011-05-04 | 1 | -8/+8 |
| | |||||
* | Preserve fractional seconds in DateTime#to_time | John Firebaugh | 2011-02-03 | 1 | -1/+1 |
| | | | | Signed-off-by: Santiago Pastorino <santiago@wyeworks.com> | ||||
* | 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> | ||||
* | Deletes trailing whitespaces (over text files only find * -type f -exec sed ↵ | Santiago Pastorino | 2010-08-14 | 1 | -6/+6 |
| | | | | 's/[ \t]*$//' -i {} \;) | ||||
* | Refactor move some date, time and date_time methods to */zones and fixed ↵ | Santiago Pastorino | 2010-07-03 | 1 | -0/+1 |
| | | | | some requires | ||||
* | fix conditions when DateTime#to_date and DateTime#xmlschema methods are defined | Raimonds Simanovskis | 2010-06-04 | 1 | -3/+3 |
| | |||||
* | let Time.time_with_datetime_fallback handle properly years in the range 0..138 | Xavier Noria | 2010-05-05 | 1 | -0/+6 |
| | |||||
* | AS datetime conversions now require AS time conversions | snusnu | 2010-03-18 | 1 | -0/+1 |
| | |||||
* | Added #to_i to DateTime in ActiveSupport so #to_yaml works correctly on ↵ | Serguei Filimonov | 2009-12-15 | 1 | -2/+13 |
| | | | | ActiveRecord models with DateTime attributes. | ||||
* | Check for date/time methods that moved upstream in 1.9 | Jeremy Kemper | 2009-05-07 | 1 | -3/+3 |
| | |||||
* | Convert DateTime extensions to class reopens | Jeremy Kemper | 2009-03-28 | 1 | -87/+75 |
| | |||||
* | Move Numeric#to_utc_offset_s to TimeZone.seconds_to_utc_offset | Jeremy Kemper | 2009-03-23 | 1 | -1/+1 |
| | |||||
* | Merge docrails | Pratik Naik | 2009-01-18 | 1 | -1/+1 |
| | |||||
* | Ruby 1.8.7 compat: detect and alias non-superclass DateTime#to_s | Jeremy Kemper | 2008-04-20 | 1 | -4/+9 |
| | |||||
* | Improve documentation. | Pratik Naik | 2008-04-05 | 1 | -1/+1 |
| | | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@9226 5ecf4fe2-1ee6-0310-87b1-e25e094e27de | ||||
* | Fine, warn. Just don't recurse to death in cc.rb | Jeremy Kemper | 2008-03-31 | 1 | -1/+1 |
| | | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@9161 5ecf4fe2-1ee6-0310-87b1-e25e094e27de | ||||
* | Always alias DateTime#to_s to #to_default_s | Jeremy Kemper | 2008-03-31 | 1 | -1/+1 |
| | | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@9155 5ecf4fe2-1ee6-0310-87b1-e25e094e27de | ||||
* | Play nice with 1.9's DateTime#to_s | Jeremy Kemper | 2008-03-29 | 1 | -1/+2 |
| | | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@9137 5ecf4fe2-1ee6-0310-87b1-e25e094e27de | ||||
* | Adding TimeZone#at and DateTime#to_f | Geoff Buesing | 2008-03-17 | 1 | -0/+6 |
| | | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@9042 5ecf4fe2-1ee6-0310-87b1-e25e094e27de | ||||
* | Remove unneeded #to_datetime_default_s alias for DateTime#to_s, given that ↵ | Geoff Buesing | 2008-01-23 | 1 | -1/+0 |
| | | | | | | we inherit a #to_default_s from Date that does exactly the same thing git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8705 5ecf4fe2-1ee6-0310-87b1-e25e094e27de | ||||
* | Refactor Time and DateTime #to_formatted_s: use ternary instead of nested ↵ | Geoff Buesing | 2008-01-23 | 1 | -9/+2 |
| | | | | | | if/else git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8699 5ecf4fe2-1ee6-0310-87b1-e25e094e27de | ||||
* | Adding Time and DateTime #formatted_offset, for outputting +HH:MM utc offset ↵ | Geoff Buesing | 2008-01-23 | 1 | -0/+9 |
| | | | | | | strings with cross-platform consistency git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8698 5ecf4fe2-1ee6-0310-87b1-e25e094e27de | ||||
* | Simplify to_formatted_s docs. Closes #10747 [Jeremy Kemper] | Jeremy Kemper | 2008-01-09 | 1 | -26/+14 |
| | | | | 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 | -2/+23 |
| | | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8606 5ecf4fe2-1ee6-0310-87b1-e25e094e27de | ||||
* | Docfix (closes #10369) [revans] | David Heinemeier Hansson | 2007-12-17 | 1 | -1/+17 |
| | | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8428 5ecf4fe2-1ee6-0310-87b1-e25e094e27de | ||||
* | Ruby 1.9 compat: normalize date and time xmlschema to match Ruby's ↵ | Jeremy Kemper | 2007-12-15 | 1 | -4/+8 |
| | | | | | | formatting [chuyeow] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8398 5ecf4fe2-1ee6-0310-87b1-e25e094e27de | ||||
* | Cater for DST changes when converting Times to DateTimes. Closes #10068 ↵ | Michael Koziarski | 2007-11-05 | 1 | -3/+2 |
| | | | | | | [gbuesing] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8076 5ecf4fe2-1ee6-0310-87b1-e25e094e27de | ||||
* | Fixed Date#xmlschema for dates outside the range of what can be created with ↵ | David Heinemeier Hansson | 2007-10-01 | 1 | -0/+4 |
| | | | | | | Time (closes #9744) [gbuesing] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@7707 5ecf4fe2-1ee6-0310-87b1-e25e094e27de | ||||
* | Date/Time/DateTime Ruby 1.9 compat | Jeremy Kemper | 2007-09-27 | 1 | -2/+2 |
| | | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@7647 5ecf4fe2-1ee6-0310-87b1-e25e094e27de | ||||
* | Some 1.9 forward compatibility | Jeremy Kemper | 2007-09-14 | 1 | -5/+7 |
| | | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@7474 5ecf4fe2-1ee6-0310-87b1-e25e094e27de | ||||
* | Readable Date and DateTime#inspect. Closes #8570. | Jeremy Kemper | 2007-06-04 | 1 | -0/+7 |
| | | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6933 5ecf4fe2-1ee6-0310-87b1-e25e094e27de | ||||
* | DateTime#to_time converts to Time unless out of range. Date#to_datetime and ↵ | Jeremy Kemper | 2007-05-30 | 1 | -1/+9 |
| | | | | | | Date#to_s(:rfc822). Closes #8512. git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6902 5ecf4fe2-1ee6-0310-87b1-e25e094e27de | ||||
* | DateTime uses Time formats. Closes #8476. | Jeremy Kemper | 2007-05-26 | 1 | -10/+1 |
| | | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6854 5ecf4fe2-1ee6-0310-87b1-e25e094e27de | ||||
* | Date, Time, and DateTime support formatting blocks in addition to strftime ↵ | Jeremy Kemper | 2007-05-25 | 1 | -6/+16 |
| | | | | | | strings. Introduce :long_ordinal format, e.g. 'February 21st, 2005'. Closes #8191. git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6844 5ecf4fe2-1ee6-0310-87b1-e25e094e27de | ||||
* | Time#since overflows to DateTime. Introduce Time#to_datetime. Closes #7715. | Jeremy Kemper | 2007-03-05 | 1 | -0/+5 |
| | | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6335 5ecf4fe2-1ee6-0310-87b1-e25e094e27de | ||||
* | Add missing files | Michael Koziarski | 2007-02-28 | 1 | -0/+28 |
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6264 5ecf4fe2-1ee6-0310-87b1-e25e094e27de |