The date time format can be chosen in application settings
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user