[php-src] PR #12548: Fix GH-12532: PharData created from zip has incorrect timestamp
| From: | nielsdos | Date: | Sat, 28 Oct 2023 18:03:46 +0000 |
| Subject: | [php-src] PR #12548: Fix GH-12532: PharData created from zip has incorrect timestamp | ||
| Groups: | php.git-pulls | ||
| Request: | Send a blank email to git-pulls+get-24029@lists.php.net to get a copy of this message | ||
Pull Request: https://github.com/php/php-src/pull/12548
Author: nielsdos
The datetime stored in the DOS time fields, which is what zip standard uses, is local time without a
timezone. There's an extension to the zip file format since '97 that allows storing a unix
timestamp (in UTC) in the header for both the central directory and the local entries. This patch
adds support for this.
Closes GH-12532.
I targeted master to reduce risk and because it can technically be seen as a new feature.