1
0
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:
Deltik 2018-05-24 19:41:46 -05:00
parent 6fe881a94f
commit c0cc29d830
No known key found for this signature in database
GPG Key ID: 1167C5F9C9897637
2 changed files with 4 additions and 1 deletions

2
e107

@ -1 +1 @@
Subproject commit 1494c186603cf28d3f260c3e17b666aec75da390
Subproject commit 78213c4a31467a0dde4da35413927e95f8ae494f

View File

@ -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';