Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Fixed timezone mapping of Ulaanbaatar. | Zolzaya | 2013-03-27 | 1 | -1/+1 |
| | |||||
* | Remove manual "return true" from AS::TZ match method | Carlos Antonio da Silva | 2013-03-12 | 1 | -1/+1 |
| | |||||
* | included "Montevideo" in list of time zone aliases (closes Issue #9628) | Gernot | 2013-03-09 | 1 | -0/+1 |
| | |||||
* | Deprecate obsolete Time to DateTime fallback methods | Andrew White | 2012-12-11 | 1 | -1/+1 |
| | | | | | | | The Time.time_with_datetime_fallback, Time.utc_time and Time.local_time methods were added to handle the limitations of Ruby's native Time implementation. Those limitations no longer apply so we are deprecating them in 4.0 and they will be removed in 4.1. | ||||
* | Replace comments' non-breaking spaces with spaces | claudiob | 2012-12-04 | 1 | -1/+1 |
| | | | | | | | | | | Sometimes, on Mac OS X, programmers accidentally press Option+Space rather than just Space and don’t see the difference. The problem is that Option+Space writes a non-breaking space (0XA0) rather than a normal space (0x20). This commit removes all the non-breaking spaces inadvertently introduced in the comments of the code. | ||||
* | Only take the date parts from Time.zone.now | Andrew White | 2012-12-01 | 1 | -3/+3 |
| | | | | | | | When there are missing components in the Hash returned by Date._parse only the date components should default to the value of Time.zone.now, the time components should all default to zero. | ||||
* | Make `Time.zone.parse` to work with JavaScript date strings | Andrew White | 2012-12-01 | 1 | -11/+16 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Chrome, Safari and Firefox serialize Date objects to strings such as 'Mon May 28 2012 00:00:00 GMT-0700 (PDT)'. When these strings are parsed the zone is interpreted as 'GMT-0700' which doesn't exist in the TzInfo list of timezones. By taking advantage of the improved date/time handling in 1.9.3 we can use `Date._parse` and the `:offset` value which is parsed correctly. Three tests were amended to make them pass: 1. test_parse_with_old_date This needed changing to a different value because the original value was before EST was adopted so was being changed to a LMT (Local Mean Time) value after the change. It didn't before because `DateTime` just has offsets from UTC not timezones. 2. test_parse_should_not_black_out_system_timezone_dst_jump Changed the implementation of this test as the stubs were dependent on internal implementation details of the test. Confirmed that the modified test still failed when the implementation of `parse` was restored to pre-#5571. 3. test_parse_should_black_out_app_timezone_dst_jump Ditto. Closes #5770. | ||||
* | Fixed timezone mapping of Solomon Islands. | Steve Klabnik | 2012-11-01 | 1 | -1/+1 |
| | | | | | | | | Fixes #8095. For reference, here is the discussion about the mapping being incorrect: http://rubyforge.org/pipermail/tzinfo-users/2012-November/000114.html | ||||
* | update AS/values and AS/xml_mini docs [ci skip] | Francesco Rodriguez | 2012-09-14 | 1 | -36/+51 |
| | |||||
* | Remove rescue clause from ActiveSupport::TimeZone#to_f | Andrew White | 2012-07-01 | 1 | -2/+1 |
| | | | | | Time#at no longer raises an error for large values so we can remove the rescue clause from ActiveSupport::TimeZone#to_f. | ||||
* | Merge pull request #5571 from jarkko/5559-fix-dst-jump-bug-on-master | Aaron Patterson | 2012-05-15 | 1 | -0/+5 |
|\ | | | | | [#5559] Do not black out the system timezone DST jump hour if Time.zone ... | ||||
| * | [#5559] Do not black out the system timezone DST jump hour if Time.zone ↵ | Jarkko Laine | 2012-03-24 | 1 | -0/+5 |
| | | | | | | | | | | | | | | | | differs from that. The system timezone DST jump hour should not be blacked out by Time.zone.parse if current Time.zone does not do the jump at that time. Fixes #5559. | ||||
* | | removing unnecessary 'examples' noise from activesupport | Francesco Rodriguez | 2012-05-13 | 1 | -5/+5 |
| | | |||||
* | | more edits [ci skip] | Vijay Dev | 2012-05-01 | 1 | -1/+1 |
| | | |||||
* | | Merge branch 'master' of github.com:lifo/docrails | Vijay Dev | 2012-05-01 | 1 | -0/+1 |
|\ \ | |||||
| * | | Add documention for utc_offset method | Rob Zolkos | 2012-05-01 | 1 | -0/+1 |
| |/ | |||||
* / | Correcting some confusion. Pago Pago is part of American Samoa, not Samoa. ↵ | Dave Gerton | 2012-04-13 | 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. | ||||
* | use empty? on the hash to avoid another method call | Aaron Patterson | 2012-03-16 | 1 | -1/+1 |
| | |||||
* | removed unnecessary calls to "freeze" | Aaron Patterson | 2012-03-16 | 1 | -2/+1 |
| | |||||
* | make stubbing Time.now easier | Aaron Patterson | 2012-03-16 | 1 | -1/+7 |
| | |||||
* | Clean up module docs [ci skip] | Vijay Dev | 2012-03-07 | 1 | -21/+21 |
| | | | | Removed some useless docstrings and no-doc'ed some. | ||||
* | 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] | ||||
* | 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> | ||||
* | 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 |
| |