[PEPr] Comment on Date and Time::Date_HumanDiff

From: Date: Thu, 19 Apr 2012 17:50:28 +0000
Subject: [PEPr] Comment on Date and Time::Date_HumanDiff
References: 1  Groups: php.pear.dev 
Request: Send a blank email to pear-dev+get-54920@lists.php.net to get a copy of this message
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

« previous php.pear.dev (#54920) next »