We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f088152 commit 89e593cCopy full SHA for 89e593c
tests/include/functionsSmartyTest.php
@@ -117,7 +117,7 @@ public function test_smarty_renders_formatTime()
117
118
serendipity_smarty_init();
119
120
- setlocale(LC_ALL, 'en_US');
+ Locale::setDefault('en_US_POSIX');
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