mirror of
https://github.com/e107inc/e107.git
synced 2025-08-02 04:40:44 +02:00
C locale in e_dateTest::testConvert_date()
Standardized locale in e_dateTest::testConvert_date()
This commit is contained in:
2
e107
2
e107
Submodule e107 updated: 1494c18660...78213c4a31
@@ -180,6 +180,9 @@
|
|||||||
|
|
||||||
public function testConvert_date()
|
public function testConvert_date()
|
||||||
{
|
{
|
||||||
|
// Expected values made using the C locale
|
||||||
|
setlocale(LC_TIME, 'C');
|
||||||
|
|
||||||
// will probably fail on windows
|
// will probably fail on windows
|
||||||
$actual = $this->dateObj->convert_date(mktime(12, 45, 03, 2, 5, 2018), 'long');
|
$actual = $this->dateObj->convert_date(mktime(12, 45, 03, 2, 5, 2018), 'long');
|
||||||
$expected = 'Monday 05 February 2018 - 12:45:03';
|
$expected = 'Monday 05 February 2018 - 12:45:03';
|
||||||
|
Reference in New Issue
Block a user