2 comments

  • dfc9 minutes ago
    If you like this there has been a interesting discussion on the tzdb mailing list about how to handle the Vancouver change and the next releases of the tzdb and the Unicode Common Locale Data Repository: <a href="https:&#x2F;&#x2F;lists.iana.org&#x2F;hyperkitty&#x2F;list&#x2F;tz@iana.org&#x2F;thread&#x2F;IEZR4HYQXZTUMGRA7FEZJAKAOGFGOPIP&#x2F;" rel="nofollow">https:&#x2F;&#x2F;lists.iana.org&#x2F;hyperkitty&#x2F;list&#x2F;tz@iana.org&#x2F;thread&#x2F;IE...</a>
  • themafia1 hour ago
    &gt; the Time Zone Database also contains a surprising amount of whimsy.<p>Which I would find &quot;cute&quot; if the database contained an equal amount of reason. I am perennially irritated that &quot;US&#x2F;Pacific&quot; which is an _official_ name of a time zone _as used_ by the relevant time keeping authority, is called &quot;backwards.&quot;<p>I still think we should move away from a tz database, a 1970s idea, and move to a .timezone TLD with tzinfo stored in TXT records. Give each country it&#x27;s own NS in the TLD and give them the authority to update it. If you still want a &quot;full file&quot; then do a zone transfer. Plus, we could also use punycode, and easily have fully internationalized time zone names, something we currently lack.<p>I genuinely dislike the structure and nature of the tz database.
    • shagie35 minutes ago
      That would provide the machine readable version... but not the human documentation of time. You wouldn&#x27;t be able to debug the Moroccan Ramadan rule (which is provided as some elisp code) and its predictions for future changes.<p>Having it be managed by governments would mean that the whim of a politician could break things by changing the established name... say from &quot;US&#x2F;Pacific&quot; to &quot;USA&#x2F;Pacific&quot; or deciding by fiat to change the timezone for a political enclave within another one that <i>doesn&#x27;t</i> have a TLD. ( <a href="https:&#x2F;&#x2F;github.com&#x2F;eggert&#x2F;tz&#x2F;blob&#x2F;main&#x2F;northamerica#L821" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;eggert&#x2F;tz&#x2F;blob&#x2F;main&#x2F;northamerica#L821</a> )<p>This <i>also</i> describes the compromises in the design of the system to accurately record the time.<p><pre><code> # From Paul Eggert (2026-03-07): # The law says that 21 hours after the usual 2026-03-08 02:00 switch from # PST to PDT, the next day inaugurates the new standard time Pacific Time, # i.e., just one clock change but two name changes separated by 21 hours. # PT, the obvious abbreviation for Pacific Time, is one letter too short # to conform to TZDB’s (and POSIX’s) [-+[:alnum:]]{3,6} requirements. # I asked the BC government for advice, with no response. For now, do this: # 1. As a temporary hack, pretend that the BC law takes effect # not on 2026-03-09 at 00:00, but on 2026-11-01 at 02:00. # This pretense works around a limitation in CLDR v48.1 (2026-01-08), # which would otherwise say the interval uses “Pacific Standard Time”. # (Below, this temporary hack is marked “Temporary hack; see above.”) # Strictly speaking this hack is incorrect since the interval uses # standard time, but it does have the right UT offset and it # works around the CLDR limitation. We should be able to remove # the temporary hack after CLDR is fixed.</code></pre>
    • rendaw17 minutes ago
      You need historic timezone information to interpret past dates, not just the current timezones.
    • MadnessASAP54 minutes ago
      &gt; Which I would find &quot;cute&quot; if the database contained an equal amount of reason. I am perennially irritated that &quot;US&#x2F;Pacific&quot; which is an _official_ name of a time zone _as used_ by the relevant time keeping authority, is called &quot;backwards.&quot;<p>This assumes that every point on earth has exactly 1 governing body and that a significant majority of the people agree on who that governing body is and that the governing body gives a rats ass about what time it is. Or that everyone in a region agrees on what time it is. Or that ccTLDs are sufficient to unambiguously cover the entire earths surface.<p>The time zone database isnt just a record of &quot;official&quot; decisions regarding time, it is a record of what time a population thinks it is. There are geographic overlaps, cultural overlaps, pants on head stupid overlaps. It exists to try and translate between somebody somewhere some when giving a time and date reference to any point in history to whatever time system the user may choose to believe in.<p>Your solution is insufficiently complex to solve a problem of this complexity.<p><a href="https:&#x2F;&#x2F;gist.github.com&#x2F;timvisee&#x2F;fcda9bbdff88d45cc9061606b4b923ca" rel="nofollow">https:&#x2F;&#x2F;gist.github.com&#x2F;timvisee&#x2F;fcda9bbdff88d45cc9061606b4b...</a>