Skip to content

Commit 6ee1ff4

Browse files
committed
Fix timezone issue on Travis-CI.
1 parent 585f71d commit 6ee1ff4

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

features/bootstrap/FeatureContext.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ class FeatureContext implements Context, SnippetAcceptingContext
3333
*/
3434
public function __construct()
3535
{
36-
ini_set('date.timezone', 'GMT');
36+
ini_set('date.timezone', 'UTC');
3737

3838
$kernel = new AppKernel('test', true);
3939
$this->application = new Application($kernel);

features/interactive.feature

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -49,8 +49,8 @@ Feature: It is possible to interactively fill in a form from the CLI
4949
[dateOfBirth] => DateTime Object
5050
(
5151
[date] => 2015-03-04 00:00:00.000000
52-
[timezone_type] => 2
53-
[timezone] => GMT
52+
[timezone_type] => 1
53+
[timezone] => +00:00
5454
)
5555
)
5656
"""

0 commit comments

Comments
 (0)