1
0
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:
Nick Liu
2018-11-01 18:49:20 -05:00
parent 9e6bb14641
commit aa458ee7d3
2 changed files with 2 additions and 0 deletions

View File

@@ -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
{ {

View File

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