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