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
Created a vending_machine
Updated a bus_stop
Updated a confectionery shop, a massage shop, and 2 other objects; Deleted a books shop
I hiked 7.0km in 4h21m00s
Updated a deli shop and a pet_grooming shop
I walked 4.2km in 49m42s
I walked 1.4km in 10m14s
I walked 2.2km in 1h43m13s
I walked 4.4km in 1h25m00s
Updated a cafe
Updated a bar
I walked 1.7km in 19m07s
I got a new lens. It's a little bit larger, and loads heavier, than my older one.
I walked 1.6km in 15m10s
Updated a pub
I walked 4.5km in 41m34s
Merge branch 'v2022'
Merge branch 'isspace-fixes' into v2022
Cast to 'unsigned char' for all ctype style functions (isspace, toupp…
I saw a Kingfisher fishing yesterday!
It's not a great photo, but it was great seeing it using the branch as a perch for fishing.
Does anybody have good/bad experiences with "mpb.com" for used camera gear/lenses in the UK?
Created 9 benches and 9 picnic_tables; Updated 3 benches
I hiked 10.5km in 4h26m04s
Updated a restaurant




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