8000 [Form] Fix DateTypeTest by raffaelecarelle · Pull Request #52792 · symfony/symfony · GitHub
[go: up one dir, main page]

Skip to content

[Form] Fix DateTypeTest #52792

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
wants to merge 5 commits into from
Closed
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Next Next commit
Fix DateTypeTest::testSubmitFromSingleTextDateTime()
The date submitted cause an unexcpected Intl date parse error exception.
  • Loading branch information
raffaelecarelle committed Nov 29, 2023
commit 06568b67c2dbd2becf9024e0ea88d77b5fd48252
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@ public function testSubmitFromSingleTextDateTime()
'input' => 'datetime',
]);

$form->submit('2.6.2010');
$form->submit('02.06.2010');

$this->assertEquals(new \DateTime('2010-06-02 UTC'), $form->getData());
$this->assertEquals('02.06.2010', $form->getViewData());
Expand Down
0