title: Rails does not transition out from daylight savings time
body: <p>Rails ver: <code>6.0.3.4</code><br />
  Ruby ver: <code>2.6.6</code><br />
  tzinfo gem ver: <code>1.2.7</code></p>
  <p>Although daylight switching was supposed to end on Nov 1st, my rails application is somehow still using PDT (<code>-7:00</code>) when I expect it to be in PST (<code>-08:00</code>) on Nov 4th.</p>
  <pre><code>&gt; Time.now
  2020-11-05 02:45:15 +0000
  &gt; Time.zone.now
  Wed, 04 Nov 2020 19:45:23 PDT -07:00
  </code></pre>
  <p>Here's what I know so far:</p>
  <ul>
  <li>OS's <code>/etc/localtime</code> is set to correct GMT</li>
  <li><code>config.time_zone</code> is set to <code>Pacific Time (US &amp; Canada)</code></li>
  <li><code>config.active_record.default_timezone</code> isn't set</li>
  <li>Postgres is set to UTC</li>
  </ul>
  <p>Anyone know what's going on? I noticed that <code>Time.zone.tzinfo.current_period</code> is a little odd (set to 2007) but not sure if it's relevant:</p>
  <pre><code>&gt; Time.zone.tzinfo.current_period
  #&lt;TZInfo::TimezonePeriod: #&lt;TZInfo::TimezoneTransitionDefinition: #&lt;TZInfo::TimeOrDateTime: 1173607200&gt;,#&lt;TZInfo::TimezoneOffset: -28800,3600,PDT&gt;&gt;,nil&gt;
  &gt; Time.zone.tzinfo.current_period.local_start
  Sun, 11 Mar 2007 03:00:00 +0000
  &gt; Time.zone.tzinfo.current_period.local_end
  nil
  </code></pre>
  <p>Update: Here are the zdump info, so looks like OS has the right info:</p>
  <pre><code>&gt; zdump -v /usr/share/zoneinfo/America/Los_Angeles | grep 2020
  /usr/share/zoneinfo/America/Los_Angeles  Sun Mar  8 09:59:59 2020 UT = Sun Mar  8 01:59:59 2020 PST isdst=0 gmtoff=-28800
  /usr/share/zoneinfo/America/Los_Angeles  Sun Mar  8 10:00:00 2020 UT = Sun Mar  8 03:00:00 2020 PDT isdst=1 gmtoff=-25200
  /usr/share/zoneinfo/America/Los_Angeles  Sun Nov  1 08:59:59 2020 UT = Sun Nov  1 01:59:59 2020 PDT isdst=1 gmtoff=-25200
  /usr/share/zoneinfo/America/Los_Angeles  Sun Nov  1 09:00:00 2020 UT = Sun Nov  1 01:00:00 2020 PST isdst=0 gmtoff=-28800
  </code></pre>
  <p>More <code>TZInfo</code>:</p>
  <pre><code>&gt; TZInfo::DataSource.get
  #&lt;TZInfo::ZoneinfoDataSource: /usr/share/zoneinfo&gt;
  </code></pre>