1
0
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:
Nick Liu 2018-11-01 18:49:20 -05:00
parent 9e6bb14641
commit aa458ee7d3
No known key found for this signature in database
GPG Key ID: 1167C5F9C9897637
2 changed files with 2 additions and 0 deletions

View File

@ -18,6 +18,7 @@
{
// Expected values made using the C locale
setlocale(LC_TIME, 'C');
date_default_timezone_set('UTC');
try
{

View File

@ -704,6 +704,7 @@ class e_formTest extends \Codeception\Test\Unit
*/
public function testRenderValue()
{
date_default_timezone_set('America/Los_Angeles');
$frm = $this->_frm;