Thanks for the investigation Phil! I'll follow up with the ActiveSupport team,
-S On Thu, Nov 1, 2012 at 4:56 PM, Philip Ross <[email protected]> wrote: > Hi Stephane, > > On 1 November 2012 22:56, Stephane Pelchat <[email protected]> wrote: > > We have received a report that the Solomon Island timezone is being > > calculated as if daylight savings was observed there, but it is in fact > not > > the case. > > > > - Using tzinfo (0.3.31) > > - "Pacific - Guadalcanal" > > - ActiveSupport::TimeZone.all returns: "(GMT+12:00) Solomon Is." > > > > But Solomon Island should be GMT+11 > > ( > http://www.timeanddate.com/library/abbreviations/timezones/pacific/sbt.html > ) > > TZInfo does return an offset of GMT+11 for the Solomon Islands > (Pacific/Guadalcanal) and indicates that daylight savings is not > observed: > > > zone = TZInfo::Timezone.get('Pacific/Guadalcanal') > > period = zone.period_for_utc(Time.utc(2013, 1, 1)) > > period.utc_total_offset / 3600.0 > => 11.0 > > period.dst? > => false > > ActiveSupport::TimeZone maps "Solomon Is." to the Asia/Magadan > timezone (in the MAPPING Hash in > lib/active_support/values/time_zone.rb). Since Magadan is a town in > Russia that observes a timezone of GMT+12, the ActiveSupport mapping > would appear to be incorrect. > > Kind regards, > > Phil > _______________________________________________ > TZInfo-users mailing list > [email protected] > http://rubyforge.org/mailman/listinfo/tzinfo-users > -- Stéphane Pelchat Development Director Coupa Software | www.coupa.com [email protected] 925.528.9848 Gartner Ranks Coupa #1<http://www.coupa.com/purchasing-procurement-press-releases/leading-analyst-firm-profiles-coupa-software-in-a-new-market-landscape-report> Coupa's Stellar Growth<http://www.spendmatters.com/index.cfm/2012/1/18/Coupas-Stellar-2011-Growth-is-Proof-That-P2P-Fresh-Thinking-is-Thriving> Coupa Customers<http://www.coupa.com/purchasing-procurement-customers/customers> *Join the conversation!* [image: LinkedIn] <http://www.linkedin.com/company/99595> [image: Facebook]<http://www.facebook.com/coupasoftware> [image: Twitter] <http://www.twitter.com/coupa> [image: YouTube]<https://www.youtube.com/user/CoupaSoftware>
_______________________________________________ TZInfo-users mailing list [email protected] http://rubyforge.org/mailman/listinfo/tzinfo-users
