WARNING: This server is unstable and will be retired in the next days. If you want to keep this forum available, please request immediately a migration on the Nabble Support forum. Forums that don't receive any migration request will be deleted forever.

 « Return to Thread: [PEPr] Proposal for Date and Time::Date_HumanDiff

[PEPr] Comment on Date and Time::Date_HumanDiff

by Markus Tacker-3 :: Rate this Message:

| View in Thread

Gidea to bake this into a pear package!



- There should be an addFormat($fmt) method.

- make sure that formats is sorted by the threshold

- formats should be an entity

- get() should accept DateTime objects

- Put the english localisation in a subclass HumanDiff_EN

- Missing PHP docs in the tests file

- remove the ?> at EOF



Just my 2cents™.



(Copied from my reply to the ML.)

--
http://pear.php.net/pepr/pepr-proposal-show.php?id=678

--
PEAR Development Mailing List (http://pear.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

 « Return to Thread: [PEPr] Proposal for Date and Time::Date_HumanDiff