Re: [PEPr] +1 for Date and Time::Date_HumanDiff
| From: | Markus Tacker | Date: | Tue, 29 May 2012 07:40:06 +0000 |
| Subject: | Re: [PEPr] +1 for Date and Time::Date_HumanDiff | ||
| References: | 1 2 3 | Groups: | php.pear.dev |
| Request: | Send a blank email to pear-dev+get-54964@lists.php.net to get a copy of this message | ||
On Mon, May 28, 2012 at 10:56 PM, Christian Weiske <cweiske@cweiske.de> wrote:
> It does. There is a test for that:
>
> https://github.com/cweiske/Date_HumanDiff/blob/master/tests/Date/HumanDiffTest.php#L82
Ah, the protected makeTimeStamp() handles the conversion.
Then you'll just have to fix the phpdoc for get().
I've created a pull request for that:
https://github.com/cweiske/Date_HumanDiff/pull/4
--
mit freundlichen Grüßen
Markus Tacker ~ http://tckr.cc/