[Fwd: [PEAR-BUG] Bug #14506: Timestamp when using the LS function]
| From: | jw dot v dot schie at hccnet dot nl | Date: | Fri, 15 Aug 2008 13:57:22 +0000 |
| Subject: | [Fwd: [PEAR-BUG] Bug #14506: Timestamp when using the LS function] | ||
| Groups: | php.pear.dev | ||
| Request: | Send a blank email to pear-dev+get-50551@lists.php.net to get a copy of this message | ||
I have not received an confirmation email for the bug I reported.
This is the first bug I reported on pear.php.net
Thanks in advance.
Jan-Willem
------------------------- Oorspronkelijk bericht -------------------------
Onderwerp: [PEAR-BUG] Bug #14506: Timestamp when using the LS function
Van: "PEAR Bug Database" <pear-qa@lists.php.net>
Datum: Vr, augustus 15, 2008 15:14
Aan: jw.v.schie@hccnet.nl
--------------------------------------------------------------------------
From: #9f218fa4d0ea607f057
Operating system: IIS06 / WIN 2000
Package version: 1.3.7
PHP version: 5.2.4
Package: Net_FTP
Bug Type: Bug
Bug description: Timestamp when using the LS function
Description:
------------
In the function _listAndParse on LINE 2166 the $entry['date'] is passed
true $this->_parseDate en the return value is stored in the
$entry['stamp'].
Unfortunately, in version 1.3.7 the $entry['date'] now only contains
:[date] => 08-08-07
The time is splitted from the date and is now in $entry['time'] :[time] =>
10:56AM
In version 1.3.2 (our previous one) the entry['date'] contained:
[date] => 08-08-07 10:56AM
As only the date is passed true the parseDate , the stamp will have the
timestamp of the date only.
Test script:
---------------
Can simply been seen using a dump of the value of $entry when using
version 1.3.2 and version 1.3.7
Expected result:
----------------
The timestamp of the date, including the time.
--
Edit bug report at http://pear.php.net/bugs/bug.php?id=14506&edit=2
Met vriendelijke groet,
J.W. van Schie