Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Consolidate date & time landscape: require 'active_support/time' | Jeremy Kemper | 2009-11-14 | 1 | -3/+0 |
| | |||||
* | Fix unresolved string extension dependencies | Jeremy Kemper | 2009-11-08 | 1 | -0/+1 |
| | |||||
* | Edinburgh TimeZone references "Europe/London" instead of "Europe/Dublin" ↵ | Phil Ross | 2009-10-27 | 1 | -1/+1 |
| | | | | [#3310 state:resolved] | ||||
* | Restore split between require-time and runtime load path mungery. Simplifies ↵ | Jeremy Kemper | 2009-09-24 | 1 | -1/+1 |
| | | | | vendor requires. | ||||
* | Rollback AS bundler work and improve activation of vendored dependencies | Joshua Peek | 2009-09-13 | 1 | -1/+1 |
| | |||||
* | Kathmandu TimeZone: reference Asia/Kathmandu zone directly instead of ↵ | Geoff Buesing | 2009-06-07 | 1 | -1/+1 |
| | | | | through linked timezone | ||||
* | Change spelling of Kyev timezone to Kyiv [#2613 state:resolved] | Alexander Dymo | 2009-05-10 | 1 | -2/+2 |
| | |||||
* | Insert in sorted order to avoid TimeZone sort | Jeremy Kemper | 2009-04-07 | 1 | -2/+1 |
| | |||||
* | Encapsulate date/time core extensions and constant autoloads in ↵ | Jeremy Kemper | 2009-03-31 | 1 | -10/+3 |
| | | | | active_support/core/time | ||||
* | Tease out Object#acts_like? behaviors | Jeremy Kemper | 2009-03-28 | 1 | -0/+4 |
| | |||||
* | Explicit Time/DateTime dependencies | Jeremy Kemper | 2009-03-26 | 1 | -0/+7 |
| | |||||
* | Move Numeric#to_utc_offset_s to TimeZone.seconds_to_utc_offset | Jeremy Kemper | 2009-03-23 | 1 | -1/+15 |
| | |||||
* | Lazy-require tzinfo for TimeZone | Jeremy Kemper | 2008-11-23 | 1 | -0/+1 |
| | |||||
* | TimeZone: fix base offset for Sri Jayawardenepura. Anchor tests for zone ↵ | gbuesing | 2008-11-13 | 1 | -2/+2 |
| | | | | offsets to more current date | ||||
* | TimeZone: Caracas GMT offset changed to -4:30 [#1361 state:resolved] | Phil Ross | 2008-11-12 | 1 | -1/+2 |
| | |||||
* | Fix Brasilia timezone. [#1180 state:resolved] | Pratik Naik | 2008-10-17 | 1 | -1/+1 |
| | |||||
* | Simplify ActiveSupport::Multibyte and make it run on Ruby 1.9. | Manfred Stienstra | 2008-09-21 | 1 | -0/+0 |
| | | | | | | * Unicode methods are now defined directly on Chars instead of a handler * Updated Unicode database to Unicode 5.1.0 * Improved documentation | ||||
* | Fix Sri Jayawardenepura time zone to map to Asia/Colombo | Jamis Buck | 2008-09-10 | 1 | -1/+1 |
| | |||||
* | Added support for regexp matching of priority zones in time_zone_select ↵ | Ernie Miller | 2008-06-29 | 1 | -0/+6 |
| | | | | [#195 state:resolved] | ||||
* | Namespace Inflector, Dependencies, OrderedOptions, and TimeZone under ↵ | Joshua Peek | 2008-06-03 | 1 | -346/+348 |
| | | | | ActiveSupport [#238 state:resolved] | ||||
* | TimeZone#to_s shows offset as GMT instead of UTC, because GMT will be more ↵ | gbuesing | 2008-05-25 | 1 | -1/+1 |
| | | | | familiar to end users (see time zone selects used by Windows OS, google.com and yahoo.com.) Reverts [8370] | ||||
* | Merge docrails. | Pratik Naik | 2008-05-25 | 1 | -7/+7 |
| | | | | Signed-off-by: Pratik Naik <pratiknaik@gmail.com> | ||||
* | Adding documentation for time zone features | gbuesing | 2008-05-18 | 1 | -0/+21 |
| | |||||
* | Precompute TimeZone.us_zones [#199 state:resolved] | Martin Eisenhardt | 2008-05-15 | 1 | -5/+4 |
| | | | | Signed-off-by: Joshua Peek <josh@joshpeek.com> | ||||
* | Time.zone.parse: return nil for strings with no date information | gbuesing | 2008-05-08 | 1 | -1/+3 |
| | |||||
* | Time.zone.parse: compatibility with far future date with time zone offset in ↵ | gbuesing | 2008-05-08 | 1 | -3/+4 |
| | | | | string. Eliminate creation of additional TimeWithZone instance to determine utc offset. | ||||
* | Fix Time.zone.parse from stripping time zone information and make Time aware ↵ | Scott Fleckenstein | 2008-05-08 | 1 | -0/+3 |
| | | | | attribute methods use Time.zone.parse instead of to_time | ||||
* | Preload TimeZone zones for thread safety. | Joshua Peek | 2008-05-04 | 1 | -217/+222 |
| | |||||
* | Bundling abbreviated version of TZInfo gem 0.3.8: only the classes and zone ↵ | Geoff Buesing | 2008-03-30 | 1 | -81/+71 |
| | | | | | | definitions required to support Rails time zone features are included. If a recent version of the full TZInfo gem is installed, this will take precedence over the bundled version git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@9149 5ecf4fe2-1ee6-0310-87b1-e25e094e27de | ||||
* | Time.zone= accepts TZInfo::Timezone instances and Olson identifiers; wraps ↵ | Geoff Buesing | 2008-03-28 | 1 | -2/+7 |
| | | | | | | result in TimeZone instance git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@9107 5ecf4fe2-1ee6-0310-87b1-e25e094e27de | ||||
* | Make TimeWithZone work with tzinfo 0.2.x: use ↵ | Geoff Buesing | 2008-03-21 | 1 | -1/+2 |
| | | | | | | TZInfo::Timezone#zone_identifier alias for #abbreviation, silence warnings on tests. Raise LoadError when TZInfo version is < 0.2 by sniffing for TZInfo::TimeOrDateTime constant. Move all tzinfo-dependent TimeZone tests into uses_tzinfo block git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@9071 5ecf4fe2-1ee6-0310-87b1-e25e094e27de | ||||
* | TZInfo caches Timezone instances in its own internal hash cache, so ↵ | Geoff Buesing | 2008-03-17 | 1 | -7/+1 |
| | | | | | | TimeZone::MAPPING doesn't need to cache them as well git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@9046 5ecf4fe2-1ee6-0310-87b1-e25e094e27de | ||||
* | Adding TimeZone#parse | Geoff Buesing | 2008-03-17 | 1 | -1/+15 |
| | | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@9045 5ecf4fe2-1ee6-0310-87b1-e25e094e27de | ||||
* | Adding TimeZone#at and DateTime#to_f | Geoff Buesing | 2008-03-17 | 1 | -2/+12 |
| | | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@9042 5ecf4fe2-1ee6-0310-87b1-e25e094e27de | ||||
* | TimeWithZone caches TZInfo::TimezonePeriod used for time conversion so that ↵ | Geoff Buesing | 2008-03-17 | 1 | -8/+2 |
| | | | | | | it can be reused, and enforces DST rules correctly when instance is created from a local time git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@9040 5ecf4fe2-1ee6-0310-87b1-e25e094e27de | ||||
* | TimeZone #local and #now correctly enforce DST rules | Geoff Buesing | 2008-03-11 | 1 | -10/+17 |
| | | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@9007 5ecf4fe2-1ee6-0310-87b1-e25e094e27de | ||||
* | TimeWithZone instances correctly enforce DST rules. Adding ↵ | Geoff Buesing | 2008-03-11 | 1 | -0/+5 |
| | | | | | | TimeZone#period_for_utc git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@9006 5ecf4fe2-1ee6-0310-87b1-e25e094e27de | ||||
* | TimeZone#new renamed #local, so that new TimeWithZone instances can be ↵ | Geoff Buesing | 2008-02-10 | 1 | -3/+3 |
| | | | | | | created via Time.zone.local() git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8847 5ecf4fe2-1ee6-0310-87b1-e25e094e27de | ||||
* | Add Time Zone support to ActiveRecord, and config.time_zone property for ↵ | Rick Olson | 2008-02-06 | 1 | -0/+8 |
| | | | | | | specifying a default Time Zone. Closes #10982 [Geoff Buesing, rick] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8806 5ecf4fe2-1ee6-0310-87b1-e25e094e27de | ||||
* | Remove unnofficial 'PST' timezone | Rick Olson | 2008-01-29 | 1 | -2/+1 |
| | | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8747 5ecf4fe2-1ee6-0310-87b1-e25e094e27de | ||||
* | Support retrieving TimeZones with a Duration. TimeZone[-28800] == ↵ | Rick Olson | 2008-01-29 | 1 | -2/+3 |
| | | | | | | TimeZone[-480.minutes]. [rick] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8746 5ecf4fe2-1ee6-0310-87b1-e25e094e27de | ||||
* | Adding UTC zone to TimeZone; TimeWithZone no longer has to fake UTC zone ↵ | Geoff Buesing | 2008-01-25 | 1 | -1/+2 |
| | | | | | | with nil git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8720 5ecf4fe2-1ee6-0310-87b1-e25e094e27de | ||||
* | TimeZone#to_s uses UTC rather than GMT; reapplying change that was undone in ↵ | Geoff Buesing | 2008-01-25 | 1 | -1/+1 |
| | | | | | | [8679]. References #1689 git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8716 5ecf4fe2-1ee6-0310-87b1-e25e094e27de | ||||
* | TimeZone#now returns an ActiveSupport::TimeWithZone | Geoff Buesing | 2008-01-23 | 1 | -6/+11 |
| | | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8710 5ecf4fe2-1ee6-0310-87b1-e25e094e27de | ||||
* | Adding alternate_utc_string option to TimeZone#formatted_offset. Removing ↵ | Geoff Buesing | 2008-01-23 | 1 | -10/+2 |
| | | | | | | unneeded TimeZone#offset git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8697 5ecf4fe2-1ee6-0310-87b1-e25e094e27de | ||||
* | Replace non-dst-aware TimeZone class with dst-aware class from ↵ | Geoff Buesing | 2008-01-21 | 1 | -57/+216 |
| | | | | | | tzinfo_timezone plugin. TimeZone#adjust and #unadjust are no longer available; tzinfo gem must now be present in order to perform time zone calculations, via #local_to_utc and #utc_to_local methods. git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8679 5ecf4fe2-1ee6-0310-87b1-e25e094e27de | ||||
* | Refactor number-to-HH:MM-string conversion logic from ↵ | Geoff Buesing | 2008-01-12 | 1 | -4/+1 |
| | | | | | | TimeZone#formatted_offset to reusable Numeric#to_utc_offset_s method git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8635 5ecf4fe2-1ee6-0310-87b1-e25e094e27de | ||||
* | TimeZone#to_s uses UTC rather than GMT. References #1689. | Jeremy Kemper | 2007-12-10 | 1 | -1/+1 |
| | | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8370 5ecf4fe2-1ee6-0310-87b1-e25e094e27de | ||||
* | Ruby 1.9 compat: TimeZone avoids localtime conversion. References #1689 [Chu ↵ | Jeremy Kemper | 2007-12-10 | 1 | -3/+4 |
| | | | | | | Yeow] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8369 5ecf4fe2-1ee6-0310-87b1-e25e094e27de | ||||
* | Fixed that La Paz was included in -25200 and -14400 offsets when it should ↵ | David Heinemeier Hansson | 2007-09-30 | 1 | -2/+2 |
| | | | | | | only be in -14400 (closes #9735) [bermi] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@7700 5ecf4fe2-1ee6-0310-87b1-e25e094e27de |