8000
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6018797 commit 5ed8b27Copy full SHA for 5ed8b27
src/Symfony/Component/Form/Tests/Extension/Core/Type/DateTimeTypeTest.php
@@ -258,13 +258,13 @@ public function testSubmitDifferentTimezonesDateTimeImmutable()
258
259
$outputTime = new \DateTimeImmutable('2010-06-02 03:04:00 Pacific/Tahiti');
260
261
- $form->submit('2010-06-02T03:04:00-10:00');
+ $form->submit('2010-06-02T03:04:00');
262
263
$outputTime = $outputTime->setTimezone(new \DateTimeZone('America/New_York'));
264
265
$this->assertInstanceOf(\DateTimeImmutable::class, $form->getData());
266
$this->assertEquals($outputTime, $form->getData());
267
- $this->assertEquals('2010-06-02T03:04:00-10:00', $form->getViewData());
+ $this->assertEquals('2010-06-02T03:04:00', $form->getViewData());
268
}
269
270
public function testSubmitStringSingleText()
0 commit comments