X-Git-Url: https://git.m6w6.name/?a=blobdiff_plain;f=phpunit%2FCookieTest.php;h=d569c75f88c02cc464824ce774d1644a7acc8104;hb=847c94ac2eef3c43200a7e066a7ee823d580b20c;hp=affe798dbb647c7bf130a02ffb472635e4ff065e;hpb=8df0e5b02cd04b43f19045c0f4f69c4076840d27;p=m6w6%2Fext-http diff --git a/phpunit/CookieTest.php b/phpunit/CookieTest.php index affe798..d569c75 100644 --- a/phpunit/CookieTest.php +++ b/phpunit/CookieTest.php @@ -1,5 +1,7 @@ assertEquals( sprintf( "this=expires; expires=%s; ", - date_create("@$t")->format("D, d M Y H:i:s \\G\\M\\T") + date_create("@$t") + ->setTimezone(new DateTimezone("UTC")) + ->format("D, d M Y H:i:s \\G\\M\\T") ), $o->toString() );