mirror of
https://github.com/e107inc/e107.git
synced 2025-03-28 08:12:42 +01:00
Explicit timezone settings in e_DateTest and e_formTest
This commit is contained in:
parent
9e6bb14641
commit
aa458ee7d3
@ -18,6 +18,7 @@
|
||||
{
|
||||
// Expected values made using the C locale
|
||||
setlocale(LC_TIME, 'C');
|
||||
date_default_timezone_set('UTC');
|
||||
|
||||
try
|
||||
{
|
||||
|
@ -704,6 +704,7 @@ class e_formTest extends \Codeception\Test\Unit
|
||||
*/
|
||||
public function testRenderValue()
|
||||
{
|
||||
date_default_timezone_set('America/Los_Angeles');
|
||||
|
||||
$frm = $this->_frm;
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user