The Y2K7 problem
Right, that "Y2K7" is not a typo. It "refers to the Year 2007 problem, caused by a US-mandated change to Daylight Saving Time" ( wikipedia ). From this year the US (and Canada) changed the dates on when daylight saving time is active. DST now starts three weeks earlier, and ends one week later. This causes quite a lot of problems with software that hard coded those rules. On Linux (and other Unix-like operating systems) this can be remedied by updating the zoneinfo information - check your Operating System's documentation on how to do that.
PHP before PHP 5.1.0 relies on the Operating System to provide time zone information, while PHP versions 5.1.0 and higher come with a bundled time zone database. The database that ships with PHP 5.1.0 already covers the changes in the US and Canada, however, the US and Canada are not the only places changing rules. Many places on earth change those rules all the time which means PHP's database needs to be updated as well.
Every PHP version comes with the latest release of the time zone database at the moment PHP is released. However, it is also possible to just update this data by installing the PECL extension timezonedb . This extension is released whenever a new version of the Olson database becomes available. The current version is 2007c (2007.3).
Comments
Hey Derick, That does seem to be a problem, but I wonder how many sites/systems will be affected.
Its a lesson us brazilians have already been through, because over here we have no specific date for begining or end of the daylight savings time. And this year we had a real mess because only half (or less) of the states actually "accepted" the change, so we had an internal timezone going. Real mess as you can see.
Well great post, interesting stuff, will you be here for this year's PHP Conf?
Greetz!
Life Line
I've finished reading Children of Memory, the third book in the series.
Another interesting take on forms of intelligent life.
A fourth one is going to get released later this year.
Updated a post_box, a beauty shop, and a restaurant; Confirmed 2 clothes shops, 2 pet shops, and a restaurant
I walked 5.9km in 1h40m39s
Updated a bicycle_parking
Updated 2 waste_baskets
I walked 7.9km in 1h37m12s
Created 3 waste_baskets; Updated 3 bus_stops, 2 benches, and 2 waste_baskets
I walked 8.1km in 1h25m53s
I walked 1.2km in 9m31s
I walked 9.4km in 1h39m05s
Merge branch 'xdebug_3_5'
Merged pull request #1071
Fixed issue #2411: Native Path Mapping is not applied to the initial …
Created 2 waste_baskets; Updated 3 waste_baskets, 2 benches, and 2 other objects; Deleted a waste_basket
I walked 7.9km in 1h45m36s
RE: https://phpc.social/@phpc_tv/116274041642323081
Now that phpc.tv and phpc.social are part of the same umbrella, I've upped my yearly contributions to their Open Collective: https://opencollective.com/phpcommunity/projects/phpc-social
Merge branch 'xdebug_3_5'
Merged pull request #1070
I walked 7.2km in 1h10m26s
Fixed issue #2405: Handle minimum path in .xdebug directory discovery
I've published a new blog post: "Human Creations", on the difference in content generation by LLMs, and the creation of text, art and code by humans.
You can find it at https://derickrethans.nl/human-creations.html or at @blog
I walked 7.8km in 1h38m32s
RE: https://phpc.social/@afilina/116274024588235234
It's good to see that more and more people are realising that the Web can be for-good, without all the enshittification.
That's why I'm happy to see endeavours like phpc.tv springing up, and helping out where I can.
Taking back the control of how the Web is for people, by people, without big tech making it all shit.
Created a waste_basket; Updated 5 crossings and a bicycle_parking
I walked 10.7km in 2h35m10s


Shortlink
This article has a short URL available: https://drck.me/typ-5ha