lbayle/codev — pull request #42 by NSV (2012-05-17 09:52:26+00:00)
Title: Use the PHP formatter date to have date in localized version

New method in tools.php - formatDate($pattern,$timestamp) to replace date($pattern,$timestamp) only when date is used for get formatted date.

For example :
date('M y',$timestamp) => formatDate("%b %y",$timestamp)
date("F Y",$timestamp) => formatDate("%B %Y",$timestamp)
date("d M",$timestamp) => formatDate("%d %b",$timestamp)

Read more :
http://www.php.net/manual/fr/function.strftime.php
http://www.php.net/manual/fr/function.date.php