aboutsummaryrefslogtreecommitdiffstats
path: root/activesupport/lib/active_support/values
Commit message (Collapse)AuthorAgeFilesLines
* Merge pull request #5571 from jarkko/5559-fix-dst-jump-bug-on-masterAaron Patterson2012-05-151-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 Laine2012-03-241-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 activesupportFrancesco Rodriguez2012-05-131-5/+5
| |
* | more edits [ci skip]Vijay Dev2012-05-011-1/+1
| |
* | Merge branch 'master' of github.com:lifo/docrailsVijay Dev2012-05-011-0/+1
|\ \
| * | Add documention for utc_offset methodRob Zolkos2012-05-011-0/+1
| |/
* / Correcting some confusion. Pago Pago is part of American Samoa, not Samoa. ↵Dave Gerton2012-04-131-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 callAaron Patterson2012-03-161-1/+1
|
* removed unnecessary calls to "freeze"Aaron Patterson2012-03-161-2/+1
|
* make stubbing Time.now easierAaron Patterson2012-03-161-1/+7
|
* Clean up module docs [ci skip]Vijay Dev2012-03-071-21/+21
| | | | Removed some useless docstrings and no-doc'ed some.
* Update Unicode database to recently-released 6.1.Norman Clarke2012-02-031-0/+0
| | | | http://www.geek.com/articles/geek-pick/unicode-6-1-released-complete-with-emoji-characters-and-a-pile-of-poo-2012022/
* Update to Unicode 6.0Norman Clarke2012-01-051-0/+0
|
* Make sure require_tzinfo only calls Kernel#require if TZInfo isn't already ↵Tim Lucas2011-09-071-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 Leighton2011-08-161-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 Leighton2011-08-161-2/+13
| | | | about 10%. (#734)
* remove require active_support/tzinfo as file dosent exists #TODO fixVishnu Atrai2011-05-221-3/+1
|
* Fixed many references to the old config/environment.rb and Rails::InitializerBenjamin Quorning2010-07-131-3/+3
|
* Removes the dependency that AMo has on tzinfoSantiago Pastorino2010-07-031-6/+6
| | | | [#4979 state:committed]
* Update Unicode database to 5.2.0. [#5011 state:resolved]Norman Clarke2010-06-301-0/+0
| | | | Signed-off-by: José Valim <jose.valim@gmail.com>
* Don't store incorrect values in zones_mapSantiago Pastorino2010-06-281-1/+5
| | | | | | [#4942 state:committed] Signed-off-by: José Valim <jose.valim@gmail.com>
* removed 'unless const_defined?' code smellJosh Kalderimis2010-06-211-148/+146
| | | | Signed-off-by: José Valim <jose.valim@gmail.com>
* Fix a bunch of minor spelling mistakesEvgeniy Dolzhenko2010-06-111-1/+1
|
* Unforce tzinfo from ASSantiago Pastorino2010-06-011-1/+7
| | | | Signed-off-by: José Valim <jose.valim@gmail.com>
* Use multibyte proxy class on 1.9, refactor Unicode.Norman Clarke2010-05-211-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 loadSantiago Pastorino2010-04-201-24/+9
| | | | Signed-off-by: Jeremy Kemper <jeremy@bitsweat.net>
* Switch to TimezoneProxy for later support of deferred TZ loadingJeremy Kemper2010-04-201-3/+1
|
* utc_offset returns nil for unknown zonesSantiago Pastorino2010-04-141-2/+3
| | | | Signed-off-by: Jeremy Kemper <jeremy@bitsweat.net>
* delegate unknown timezones to TZInfoSantiago Pastorino2010-04-021-5/+12
|
* utc_offset is no longer required on TimeZone and if it's not supplied we ↵Santiago Pastorino2010-04-021-61/+18
| | | | delegate to TZInfo
* Don't cache the utc_offset we are already caching the timezone [#4301 ↵Santiago Pastorino2010-03-301-2/+5
| | | | | | state:committed] Signed-off-by: Jeremy Kemper <jeremy@bitsweat.net>
* Ensure to reference the proper TZInfo namespace [#4268 state:resolved].José Valim2010-03-261-2/+2
|
* Georgetown TimeZone is now mapped to "America/Guyana" instead of ↵Geoff Buesing2010-01-261-3/+3
| | | | "America/Argentina/San_Juan" [#1821 status:resolved]
* Fix bug that causes TimeZone.seconds_to_utc_offset to returns wrong offset ↵Prem Sichanugrist2010-01-191-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 Kemper2009-11-141-3/+0
|
* Fix unresolved string extension dependenciesJeremy Kemper2009-11-081-0/+1
|
* Edinburgh TimeZone references "Europe/London" instead of "Europe/Dublin" ↵Phil Ross2009-10-271-1/+1
| | | | [#3310 state:resolved]
* Restore split between require-time and runtime load path mungery. Simplifies ↵Jeremy Kemper2009-09-241-1/+1
| | | | vendor requires.
* Rollback AS bundler work and improve activation of vendored dependenciesJoshua Peek2009-09-131-1/+1
|
* Kathmandu TimeZone: reference Asia/Kathmandu zone directly instead of ↵Geoff Buesing2009-06-071-1/+1
| | | | through linked timezone
* Change spelling of Kyev timezone to Kyiv [#2613 state:resolved]Alexander Dymo2009-05-101-2/+2
|
* Insert in sorted order to avoid TimeZone sortJeremy Kemper2009-04-071-2/+1
|
* Encapsulate date/time core extensions and constant autoloads in ↵Jeremy Kemper2009-03-311-10/+3
| | | | active_support/core/time
* Tease out Object#acts_like? behaviorsJeremy Kemper2009-03-281-0/+4
|
* Explicit Time/DateTime dependenciesJeremy Kemper2009-03-261-0/+7
|
* Move Numeric#to_utc_offset_s to TimeZone.seconds_to_utc_offsetJeremy Kemper2009-03-231-1/+15
|
* Lazy-require tzinfo for TimeZoneJeremy Kemper2008-11-231-0/+1
|
* TimeZone: fix base offset for Sri Jayawardenepura. Anchor tests for zone ↵gbuesing2008-11-131-2/+2
| | | | offsets to more current date
* TimeZone: Caracas GMT offset changed to -4:30 [#1361 state:resolved]Phil Ross2008-11-121-1/+2
|
* Fix Brasilia timezone. [#1180 state:resolved]Pratik Naik2008-10-171-1/+1
|