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