Contributing Advent 21: Timezone database
Timezones have always been a pain, and Daylight Saving(s) time does not make it a lot easier. Then of course you have governments that decide to change the rules. Often that is done nicely in advance, but once in a while the rule changes are announced at the absolutely last moment, or, sometimes even after the new rules have come into effect. To track the craziness, have a look at Time Zone News, and this image to see how many different rules there are!
The changes to rules, and the changes to them are tracked by a group of volunteers that maintain the Olson TZ Database, named after the now retired David Arthur Olson. Every so often a new release is made through IANA's website. The last change happened last Tuesday, and hopefully this is the last release of this year.
The Olson TZ Database is used by a whole lot of software stacks, for example by almost every Unix system, but there are also implementations for languages. There is Yoda time for Java, and PHP's DateTime support also uses the Olson database to be able to calculate the correct local time.
Because the PHP release cycle can not keep up with the releases of the Olson database, you can update the rule set in PHP by installing newer versions of the timezonedb PECL extension, which closely follows releases of the Olson database.
As I am the maintainer of PHP's DateTime support, I am also responsible for keeping the database, and it's accompanying PECL extension up-to-date. With the latest release available through the PECL extension, websites such as http://time.is can then show you the latest, and correct, local time.
Comments
You linked "Yoda time"[sic!] to PHP's datetime URL. Did you mean http://www.joda.org/joda-time/ ...?
Indeed, I've fixed it!
Life Line
Updated 3 restaurants
I walked 3.1km in 29m25s
I walked 4.4km in 45m01s
I walked 5.4km in 55m28s
Updated a restaurant; Confirmed a hotel
I walked 6.3km in 1h12m59s
Paraphrasing opening keynote speaker at ConFoo: "Should we go back to the waterfall method of writing massive specs upfront to feed to AI coding agents?"
I walked 1.6km in 17m29s
I walked 2.1km in 17m44s
Updated a pub
I walked 2.6km in 26m41s
Merged pull request #1065
Comparison whether class is userland or internal used the wrong macro
PHP 8.6: zend_enum.h now mixes code with declarations
PHP 8.6: Argument names are now stored as zend_strings
Updated a bench and a waste_basket
I walked 8.3km in 1h25m37s
Created a recycling
I walked 10.5km in 1h46m57s
An interesting journey in story form, showing how English changed over time.
https://www.deadlanguagesociety.com/p/how-far-back-in-time-understand-english
A much better writer than I is summing up perfectly why I have such disdain for Generative AI/LLMs.
https://jonn.substack.com/p/so-why-do-i-feel-so-angry-about-this
Created a waste_basket; Updated a waste_basket; Deleted a bench
Created a bench; Updated 7 benches and a gate; Deleted 2 benches and a gate
Created 10 benches and 2 waste_baskets; Updated an information


Shortlink
This article has a short URL available: https://drck.me/adv1321-afg