Req #11258 [Opn->Csd]: Custom date/time in files added on-the-fly
| From: | mrook@php.net | Date: | Mon, 12 Nov 2012 15:45:35 +0000 |
| Subject: | Req #11258 [Opn->Csd]: Custom date/time in files added on-the-fly | ||
| References: | 1 | Groups: | php.pear.bugs |
| Request: | Send a blank email to pear-bugs+get-9333@lists.php.net to get a copy of this message | ||
Edit report at https://pear.php.net/bugs/bug.php?id=11258&edit=1
ID: 11258
Updated by: mrook@php.net
Reported By: adam at pilorz dot net
Summary: Custom date/time in files added on-the-fly
-Status: Open
+Status: Closed
Type: Feature/Change Request
Package: Archive_Tar
Operating System: Irrelevant
Package Version: 1.3.2
PHP Version: Irrelevant
-Assigned To:
+Assigned To: mrook
-Roadmap Versions:
+Roadmap Versions: 1.3.11
New Comment:
-Status: Open
+Status: Closed
-Assigned To:
+Assigned To: mrook
-Roadmap Versions:
+Roadmap Versions: 1.3.11
This bug has been fixed in SVN.
If this was a documentation problem, the fix will appear on pear.php.net
by the end of next Sunday (CET).
If this was a problem with the pear.php.net website, the change should
be live shortly.
Otherwise, the fix will appear in the package's next release.
Thank you for the report and for helping us make PEAR better.
Previous Comments:
------------------------------------------------------------------------
[2007-06-09 13:10:36] dot
Description:
------------
In some particular situations it is useful, if you can specify the
modification date/time yourself. When taring existing files you can
change those files' dates, but while creating files on-the-fly they use
current date/time (in 1.3.1 they were created with 0 timestamp). My
proposition is to add this functionality to next version of Archive_Tar
package. I have created a patch adding this feature to Tar.php file.
For example when you keep your files in a database, or modify the files
from disk before sending them to user, and want to send tar package of
several files at once, you might want to tar them using original
modification date/time.
Included diff file is a difference between original Archive_Tar 1.3.2
and version modified by me including this feature. It is fully
backward-compatible, as added parameter $p_datetime is set to false by
default and while false is provided it is interpreted the same way as
original Tar.php.
------------------------------------------------------------------------
--
Edit this bug report at https://pear.php.net/bugs/bug.php?id=11258&edit=1