Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Correcting some confusion. Pago Pago is part of American Samoa, not Samoa. | Dave Gerton | 2012-04-30 | 1 | -2/+4 |
| | | | | | | | | | Further, Samoa and Tokelau jumped across the IDL from Dec 29 to Dec 31, 2011 switching from UTC-11 to UTC+13. American Samoa did not make the change and remains at UTC-11. Pacific/Fakaofo and Pacific/Apia are in TZInfo and documentation about the dateline change is in austalasia at IANA. (cherry picked from commit 1d08ce5f56e45fdee41bb16b2d8d4464bc69bf22) | ||||
* | Make sure require_tzinfo only calls Kernel#require if TZInfo isn't already ↵ | Tim Lucas | 2011-09-07 | 1 | -1/+1 |
| | | | | | | | | present. This wasn't a problem when require_tzinfo was only called from TimeZone#initialize, but now it's being called for every lookup to TimeZone.[] (via lazy_zones_map) TimeZone lookup can occur when unmarshalling TimeWithZone objects, which is where I first saw the big slowdown (500ms for each Rails action that loaded from Rails.cache) | ||||
* | Fix tzinfo require (it broke ↵ | Jon Leighton | 2011-08-16 | 1 | -6/+13 |
| | | | | test_raises_when_an_invalid_timezone_is_defined_in_the_config in railties) | ||||
* | Be more lazy about creating time zone objects. Decreases startup time by ↵ | Jon Leighton | 2011-08-16 | 1 | -2/+13 |
| | | | | about 10%. (#734) | ||||
* | remove require active_support/tzinfo as file dosent exists #TODO fix | Vishnu Atrai | 2011-05-22 | 1 | -3/+1 |
| | |||||
* | Fixed many references to the old config/environment.rb and Rails::Initializer | Benjamin Quorning | 2010-07-13 | 1 | -3/+3 |
| | |||||
* | Removes the dependency that AMo has on tzinfo | Santiago Pastorino | 2010-07-03 | 1 | -6/+6 |
| | | | | [#4979 state:committed] | ||||
* | Update Unicode database to 5.2.0. [#5011 state:resolved] | Norman Clarke | 2010-06-30 | 1 | -0/+0 |
| | | | | Signed-off-by: José Valim <jose.valim@gmail.com> | ||||
* | Don't store incorrect values in zones_map | Santiago Pastorino | 2010-06-28 | 1 | -1/+5 |
| | | | | | | [#4942 state:committed] Signed-off-by: José Valim <jose.valim@gmail.com> | ||||
* | removed 'unless const_defined?' code smell | Josh Kalderimis | 2010-06-21 | 1 | -148/+146 |
| | | | | Signed-off-by: José Valim <jose.valim@gmail.com> | ||||
* | Fix a bunch of minor spelling mistakes | Evgeniy Dolzhenko | 2010-06-11 | 1 | -1/+1 |
| | |||||
* | Unforce tzinfo from AS | Santiago Pastorino | 2010-06-01 | 1 | -1/+7 |
| | | | | Signed-off-by: José Valim <jose.valim@gmail.com> | ||||
* | Use multibyte proxy class on 1.9, refactor Unicode. | Norman Clarke | 2010-05-21 | 1 | -0/+0 |
| | | | | | | | | | | Makes String#mb_chars on Ruby 1.9 return an instance of ActiveSupport::Multibyte::Chars to work around 1.9's lack of Unicode case folding. Refactors class methods from ActiveSupport::Multibyte::Chars into new Unicode module, adding other related functionality for consistency. [#4594 state:resolved] Signed-off-by: Jeremy Kemper <jeremy@bitsweat.net> | ||||
* | TimeZones lazy load | Santiago Pastorino | 2010-04-20 | 1 | -24/+9 |
| | | | | Signed-off-by: Jeremy Kemper <jeremy@bitsweat.net> | ||||
* | Switch to TimezoneProxy for later support of deferred TZ loading | Jeremy Kemper | 2010-04-20 | 1 | -3/+1 |
| | |||||
* | utc_offset returns nil for unknown zones | Santiago Pastorino | 2010-04-14 | 1 | -2/+3 |
| | | | | Signed-off-by: Jeremy Kemper <jeremy@bitsweat.net> | ||||
* | delegate unknown timezones to TZInfo | Santiago Pastorino | 2010-04-02 | 1 | -5/+12 |
| | |||||
* | utc_offset is no longer required on TimeZone and if it's not supplied we ↵ | Santiago Pastorino | 2010-04-02 | 1 | -61/+18 |
| | | | | delegate to TZInfo | ||||
* | Don't cache the utc_offset we are already caching the timezone [#4301 ↵ | Santiago Pastorino | 2010-03-30 | 1 | -2/+5 |
| | | | | | | state:committed] Signed-off-by: Jeremy Kemper <jeremy@bitsweat.net> | ||||
* | Ensure to reference the proper TZInfo namespace [#4268 state:resolved]. | José Valim | 2010-03-26 | 1 | -2/+2 |
| | |||||
* | Georgetown TimeZone is now mapped to "America/Guyana" instead of ↵ | Geoff Buesing | 2010-01-26 | 1 | -3/+3 |
| | | | | "America/Argentina/San_Juan" [#1821 status:resolved] | ||||
* | Fix bug that causes TimeZone.seconds_to_utc_offset to returns wrong offset ↵ | Prem Sichanugrist | 2010-01-19 | 1 | -3/+4 |
| | | | | | | when hour < 0 and not in hundreds [#3741 status:resolved] Signed-off-by: José Valim <jose.valim@gmail.com> | ||||
* | 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 |
| |