Add new function for parsing dates
authorRaphaël Barrois <raphael.barrois@polytechnique.org>
Fri, 7 May 2010 13:01:23 +0000 (15:01 +0200)
committerRaphaël Barrois <raphael.barrois@polytechnique.org>
Fri, 7 May 2010 13:01:23 +0000 (15:01 +0200)
commit707b65dc805f31c3d82fbf3cc13f0a4ab5b653e8
tree6f0e7738668714d65915aba7a9ae95530b234c21
parent84f658d20be6f81a2e3659c670c8f2a14817fb13
Add new function for parsing dates

* reads from DateTime / string / int objects
* replaces code in modifier.date_format
* complete with UTs :P

Signed-off-by: Raphaël Barrois <raphael.barrois@polytechnique.org>
include/misc.inc.php
plugins/modifier.date_format.php
ut/dateparsertest.php [new file with mode: 0644]