[TZInfo-users] Solomon Island & daylight savings time

Philip Ross phil.ross at gmail.com
Thu Nov 1 23:56:35 UTC 2012

Hi Stephane,

On 1 November 2012 22:56, Stephane Pelchat <stephane at coupa.com> 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

> 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,


More information about the TZInfo-users mailing list