Use strftime() instead of date() to respect other languages.

This commit is contained in:
Savetheinternet committed 2011-11-20 04:07:17 +11:00
1 parent 5fce70d703
commit 457e474520
5 files changed
+17 -16

No files matched your search

@@ -40,7 +40,7 @@ function twig_remove_whitespace_filter($data) {
}
function twig_date_filter($date, $format) {
return date($format, $date);
return strftime($format, $date);
}
function twig_hasPermission_filter($mod, $permission, $board) {