The date time format can be chosen in application settings

This commit is contained in:
Frederic Guillot
2016-02-06 18:08:41 -05:00
parent fc785bbbf6
commit 58cef28967
69 changed files with 597 additions and 623 deletions

View File

@@ -31,13 +31,3 @@ function n($value)
{
return Translator::getInstance()->number($value);
}
/**
* Translate a date
*
* @return string
*/
function dt($format, $timestamp)
{
return Translator::getInstance()->datetime($format, $timestamp);
}