We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 89e593c commit 18842e5Copy full SHA for 18842e5
tests/include/functionsSmartyTest.php
@@ -117,7 +117,7 @@ public function test_smarty_renders_formatTime()
117
118
serendipity_smarty_init();
119
120
- Locale::setDefault('en_US_POSIX');
+ \setlocale(LC_TIME, 'fr_FR.UTF-8');
121
$template_string = '{946684800|@formatTime:\'%b %e. %Y\'}';
122
$result = $serendipity['smarty']->fetch('eval:' . $template_string);
123
$this->assertEquals('Jan 1. 2000', $result);
0 commit comments